SLAA453A january 2011 – may 2023
USB devices running the MSP430 USB API stacks and creating a HID-datapipe interface use a HID report formatted as shown in Table 7-1. This is defined in the USB descriptors located in the physical USB device. This Windows API uses the same format, and in fact assumes the HID device uses this format.
Field | Size |
---|---|
Report ID | 1 byte (0x3F) |
Size | 1 byte |
Data | N-2 bytes, where N is the payload size of the USB packets (that is, the MAX_PACKET_SIZE value defined in the descriptors.h file in the USB API stacks). |