Instructions

www.ti.com
User Experience Software
Table 6. Demo Project File and Directory Descriptions (continued)
Name Description
Files related to USB functionality, but which are part of the application and not the USB API itself. These files
USB_app handle the keyboard emulation, and implement the virtual storage volume mounted by the device. The directory
also contains the USB "event handlers".
3.4 USB Configuration Files
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's 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.
Figure 27. MSP430 USB Descriptor Tool
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's project directory. This allows
easy regeneration of the output.
33
SLAU533ASeptember 2013Revised January 2014 MSP430F5529 LaunchPad™ Development Tool (MSP
EXP430F5529LP)
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated