aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbd_hid_interface.h
diff options
context:
space:
mode:
authorPhilip Potter2016-08-29 22:42:38 +0100
committerDamien George2016-10-04 15:38:01 +1100
commiteb239b839855de4f7fbf241635b702773f421b60 (patch)
tree0f25ae9631705bf49279e2babac52638ff076344 /stmhal/usbd_hid_interface.h
parent03de5a13cf7349bc43b9c50a43df9aa1113492fa (diff)
stmhal/usb: Add support to receive USB HID messages from host.
Diffstat (limited to 'stmhal/usbd_hid_interface.h')
-rw-r--r--stmhal/usbd_hid_interface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/stmhal/usbd_hid_interface.h b/stmhal/usbd_hid_interface.h
new file mode 100644
index 000000000..9cdf32549
--- /dev/null
+++ b/stmhal/usbd_hid_interface.h
@@ -0,0 +1,9 @@
+/*
+ * This file is part of the MicroPython project, http://micropython.org/
+ */
+
+#include "usbd_cdc_msc_hid.h"
+
+extern const USBD_HID_ItfTypeDef USBD_HID_fops;
+
+int USBD_HID_Rx(uint8_t *buf, uint32_t len, uint32_t timeout);