From eb239b839855de4f7fbf241635b702773f421b60 Mon Sep 17 00:00:00 2001 From: Philip Potter Date: Mon, 29 Aug 2016 22:42:38 +0100 Subject: stmhal/usb: Add support to receive USB HID messages from host. --- stmhal/usbd_hid_interface.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 stmhal/usbd_hid_interface.h (limited to 'stmhal/usbd_hid_interface.h') 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); -- cgit v1.2.3