SDAA062 September 2025 TMS320F28P559SJ-Q1
The HID data reporting uses the item as the basic message element, and changes the item headers to identify the different HID devices report contents. The HID report descriptor must be specified once the interface descriptor defines a HID interface. The item format is shown in Figure 2-2. Bits 23-8 represent the data to be transmitted. Bits 7-0 are the item header. bSize specifies the data length of the item in bytes. bType specifies the item types. The definition details are shown in the following text. bTag specifies the item types which is described in Configuration Descriptor. The complete definition of bTag can be found on the USB-IF official website.
Figure 2-2 Data Report Items
StructurebSize = 0 – No available data
bSize = 1 – 1-byte available data
bSize = 2 – 2-bytes available data
bSize = 3 – 4-bytes available data
bType = 0 – Main item
bType = 1 – Global item
bType = 2 – Local item