typedef struct _HID_DATA_DETAILS { uint16_t reportLength; uint16_t reportID; uint8_t bitOffset; uint8_t bitLength; uint8_t count; uint8_t signExtend; uint8_t interfaceNum; } HID_DATA_DETAILS;
HID Data Details
This structure defines the objects used by the application to access required report. Application must use parser interface functions to fill these details. e.g. USBHostHID_ApiFindValue
Members |
Description |
uint16_t reportLength; |
reportLength - the expected length of the parent report. |
uint16_t reportID; |
reportID - report ID - the first byte of the parent report. |
uint8_t bitOffset; |
BitOffset - bit offset within the report. |
uint8_t bitLength; |
bitlength - length of the data in bits. |
uint8_t count; |
count - what's left of the message after this data. |
uint8_t signExtend; |
extend - sign extend the data. |
uint8_t interfaceNum; |
interfaceNum - informs HID layer about interface number. |
MLA - USB Library Help Version : 2.16
![]() |