aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/usb/usb.h')
-rw-r--r--libmaple/usb/usb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmaple/usb/usb.h b/libmaple/usb/usb.h
index 6451f7e..66e820c 100644
--- a/libmaple/usb/usb.h
+++ b/libmaple/usb/usb.h
@@ -51,14 +51,16 @@ typedef enum
void usbWaitReset(void);
/* blocking functions for send/receive */
- int16 usbSendBytes(uint8* sendBuf,uint16 len);
+ uint16 usbSendBytes(uint8* sendBuf,uint16 len);
uint8 usbBytesAvailable(void);
uint8 usbReceiveBytes(uint8* recvBuf, uint8 len);
uint8 usbGetDTR(void);
uint8 usbGetRTS(void);
+ uint16 usbGetPending(void);
void usbSendHello(void);
+
#ifdef __cplusplus
} // extern "C"
#endif