typedef struct _USB_HID_ITEM_LIST { HID_COLLECTION * collectionList; HID_DESIGITEM * designatorItemList; HID_GLOBALS * globalsStack; HID_REPORTITEM * reportItemList; HID_REPORT * reportList; HID_STRINGITEM * stringItemList; HID_USAGEITEM * usageItemList; uint8_t * collectionStack; } USB_HID_ITEM_LIST;
List of Items
This structure contains array of pointers to all the Items in the report descriptor. HID parser will populate the lists while parsing the report descriptor. This data is used by interface functions provided in file usb_host_hid_interface.c to retrive data from the report received from the device. Application can also access these details to retreive the intended information incase provided interface function fail to do so.
Members |
Description |
HID_COLLECTION * collectionList; |
List of collections, see HID_COLLECTION for details in the structure |
HID_DESIGITEM * designatorItemList; |
List of designator Items, see HID_DESIGITEM for details in the structure |
HID_GLOBALS * globalsStack; |
List of global Items, see HID_GLOBALS for details in the structure |
HID_REPORTITEM * reportItemList; |
List of report Items, see HID_REPORTITEM for details in the structure |
HID_REPORT * reportList; |
List of reports , see HID_REPORT for details in the structure |
HID_STRINGITEM * stringItemList; |
List of string item , see HID_STRINGITEM for details in the structure |
HID_USAGEITEM * usageItemList; |
List of Usage item , see HID_USAGEITEM for details in the structure |
uint8_t * collectionStack; |
stores the array of parents ids for the collection |
MLA - USB Library Help Version : 2.16
![]() |