usbd_hid_core.h
Go to the documentation of this file.
1 
28 /* Includes ------------------------------------------------------------------*/
29 
30 #ifndef __USB_HID_CORE_H_
31 #define __USB_HID_CORE_H_
32 
33 #include "usbd_ioreq.h"
34 
48 #define USB_HID_CONFIG_DESC_SIZ 34
49 #define USB_HID_DESC_SIZ 9
50 
51 #define HID_MOUSE_REPORT_DESC_SIZE 38
52 
53 #define HID_DESCRIPTOR_TYPE 0x21
54 #define HID_REPORT_DESC 0x22
55 
56 #define HID_HS_BINTERVAL 0x07
57 #define HID_FS_BINTERVAL 0x0A
58 
59 #define HID_REQ_SET_PROTOCOL 0x0B
60 #define HID_REQ_GET_PROTOCOL 0x03
61 
62 #define HID_REQ_SET_IDLE 0x0A
63 #define HID_REQ_GET_IDLE 0x02
64 
65 #define HID_REQ_SET_REPORT 0x09
66 #define HID_REQ_GET_REPORT 0x01
67 
104  uint8_t *report,
105  uint16_t len);
106 
108 
113 #endif /* __USB_HID_CORE_H_ */
114 
122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
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.


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:50