2 #ifndef __USBD_USER_HID_H 3 #define __USBD_USER_HID_H 12 #include "usb_hid_def.h" 16 #define USBD_HID_IF_NUM 0 18 extern uint8_t hid_report_buf[8];
19 extern int hid_report_xfer_flag;
24 bool USBD_User_HID_GetReport(
void);
25 bool USBD_User_HID_SetReport(
bool data_received);
26 bool USBD_User_HID_GetIdle(
void);
27 bool USBD_User_HID_SetIdle(
void);
28 bool USBD_User_HID_GetProtocol(
void);
29 bool USBD_User_HID_SetProtocol(
void);