aboutsummaryrefslogtreecommitdiffstats
path: root/core/usb/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/usb/usb.h')
-rw-r--r--core/usb/usb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/usb/usb.h b/core/usb/usb.h
index 087ca72..c6377ab 100644
--- a/core/usb/usb.h
+++ b/core/usb/usb.h
@@ -49,6 +49,11 @@ typedef enum
/* overloaded ISR routine, this is the main usb ISR */
void usb_lpIRQHandler(void);
+ /* blocking functions for send/receive */
+ int16 usbSendBytes(uint8* sendBuf,uint16 len);
+ uint8 usbBytesAvailable(void);
+ uint8 usbReceiveBytes(uint8* recvBuf, uint8 len);
+
void usbSendHello(void);
#ifdef __cplusplus