SLAA453A january 2011 – may 2023
Figure 3-1 shows the position of this API within a Windows software stack and in relation to the USB HID API on the MSP430 device.
The software is designed to be used with the USB HID API stack firmware for the MSP430, and specifically the datapipe interface provided by the API stack. Used together, the API stack and Windows API abstract the software developer from HID reports, allowing the developer to think of the data interface as an unformatted stream of data, similar to a COM port.
To accomplish this abstraction, the datapipe interface implements a very simple HID report structure, which the developer does not need to modify. The developer uses simple commands to send or receive data blocks of any size, and the API uses the report as a data packet to transfer this data. (See the MSP430 USB CDC/HID API Stack Programmer's Guide for more information about the datapipe interface.)