SLAU533D September 2013 – April 2017
The USB configuration files, in the \USB_config directory, determine what USB interfaces the USB API presents to the USB host. These files are generated by the MSP430 USB Descriptor Tool.
The Descriptor Tool customizes the API USB interfaces and generates all of its USB descriptors (see Figure 27). (For a discussion on USB descriptors, see Step 2 of Section 1.3.) For example, with just a few clicks, the Tool can create a composite USB device with three virtual COM ports and an emulated mouse.
For the simpleUsbBackchannel demo, these files cause the API to present a single CDC interface. An application can then be written to simply send and receive data over that interface.
For the emulStorageKeyboard example, these files cause the API to have an MSC interface and an HID interface. They also cause that HID interface to be a keyboard. The application is then responsible for accessing the storage volume for the MSC interface and for sending HID "reports" that contain key press data.
*.dat input files for the Descriptor Tool are located inside each example project directory. This allows easy regeneration of the output.