MPLAB Harmony USB Stack
|
USB Device HID Function Driver Initialization Data Structure
This data structure must be defined for every instance of the HID function driver. It is passed to the HID function driver, by the Device Layer, at the time of initialization. The funcDriverInit member of the Device Layer Function Driver registration table entry must point to this data structure for an instance of the HID function driver.
typedef struct { size_t hidReportDescriptorSize; void * hidReportDescriptor; size_t queueSizeReportSend; size_t queueSizeReportReceive; } USB_DEVICE_HID_INIT;
Members |
Description |
size_t hidReportDescriptorSize; |
Size of the HID report descriptor |
void * hidReportDescriptor; |
Pointer to HID report descriptor |
size_t queueSizeReportSend; |
Report send queue size |
size_t queueSizeReportReceive; |
Report receive queue size |
None.
MPLAB Harmony USB Stack
|