30 #ifndef __USB_HID_CORE_H_ 31 #define __USB_HID_CORE_H_ 48 #define USB_HID_CONFIG_DESC_SIZ 34 49 #define USB_HID_DESC_SIZ 9 51 #define HID_MOUSE_REPORT_DESC_SIZE 38 53 #define HID_DESCRIPTOR_TYPE 0x21 54 #define HID_REPORT_DESC 0x22 56 #define HID_HS_BINTERVAL 0x07 57 #define HID_FS_BINTERVAL 0x0A 59 #define HID_REQ_SET_PROTOCOL 0x0B 60 #define HID_REQ_GET_PROTOCOL 0x03 62 #define HID_REQ_SET_IDLE 0x0A 63 #define HID_REQ_GET_IDLE 0x02 65 #define HID_REQ_SET_REPORT 0x09 66 #define HID_REQ_GET_REPORT 0x01
USBD_Class_cb_TypeDef USBD_HID_cb
header file for the usbd_ioreq.c file
uint8_t USBD_HID_SendReport(USB_OTG_CORE_HANDLE *pdev, uint8_t *report, uint16_t len)
USBD_HID_SendReport Send HID Report.
uint32_t USBD_HID_GetPollingInterval(USB_OTG_CORE_HANDLE *pdev)
USBD_HID_GetPollingInterval return polling interval from endpoint descriptor.