206 if(USBH_HID_MouseDecode(phost)==
USBH_OK)
226 if(HID_Handle->
length == 0)
USBH_DeviceTypeDef device
uint32_t mouse_report_data[1]
USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost)
USBH_HID_MouseInit The function init the HID mouse.
This file contains all the prototypes for the usbh_hid_mouse.c.
HID_MOUSE_Info_TypeDef * USBH_HID_GetMouseInfo(USBH_HandleTypeDef *phost)
USBH_HID_GetMouseInfo The function return mouse information.
uint16_t fifo_read(FIFO_TypeDef *f, void *buf, uint16_t nbytes)
fifo_read Read from FIFO.
uint8_t Data[USBH_MAX_DATA_BUFFER]
USBH_ClassTypeDef * pActiveClass
void fifo_init(FIFO_TypeDef *f, uint8_t *buf, uint16_t size)
fifo_init Initialize FIFO.
HID_MOUSE_Info_TypeDef mouse_info
uint32_t HID_ReadItem(HID_Report_ItemTypedef *ri, uint8_t ndx)
HID_ReadItem The function read a report item.