31 #ifndef __USB_HID_MOUSE_H__ 32 #define __USB_HID_MOUSE_H__ 1 34 #include "utilities/fsl_rtos_abstraction.h" 35 #include "bootloader_hid_report_ids.h" 37 #define USB_DEVICE_INTERRUPT_PRIORITY (4) 42 kAppRequestParam_IdleRate = 0,
43 kAppRequestParam_Protocol,
48 typedef struct _usb_hid_packetizer_info
53 uint8_t appRequestParams[kAppRequestParamCount];
61 typedef struct _usb_hid_generic_struct
63 usb_device_handle device_handle;
64 class_handle_t hid_handle;
71 uint8_t current_configuration;
72 uint8_t current_interface_alternate_setting[USB_HID_GENERIC_INTERFACE_COUNT];
volatile int32_t sync_object_t
Type for an interrupt synchronization object.
Definition: fsl_rtos_abstraction.h:60
State information for the USB HID packetizer.
Definition: hid_bootloader.h:48
bool didReceiveDataPhaseAbort
Whether we received a data phase abort request.
Definition: hid_bootloader.h:51
sync_object_t sendSync
Sync object used for sending packets.
Definition: hid_bootloader.h:55
sync_object_t receiveSync
Sync object used for reading packets.
Definition: hid_bootloader.h:54
bool isReceiveDataRequestRequired
Whether an interrupt out pipe receive data request is required.
Definition: hid_bootloader.h:52
Definition: hid_bootloader.h:61
Structure of a bootloader HID report.
Definition: bootloader_hid_report_ids.h:59
uint32_t reportSize
Definition: hid_bootloader.h:56
bool didReceiveFirstReport
Whether the first report has been received.
Definition: hid_bootloader.h:50