aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbd_hid_interface.h
diff options
context:
space:
mode:
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);