SLAU533D September 2013 – April 2017
The simpleUsbBackchannel example and the emulStorageKeyboard example share a similar project organization. Figure 26 shows the CCS version of emulStorageKeyboard, and Table 6 describes the functions of these files and directories.
Name | Description |
---|---|
main.c | The main() function |
hal.c, hal.h | Hardware abstraction layer for the MSP430F5529 LaunchPad development kit |
driverlib | MSP430 foundational software library, for accessing core MSP430 functions and peripherals. The USB API and examples use it to manage clocks, power, and the DMA module. driverlib is part of MSP430Ware. |
USB_API | The MSP430 USB API, part of the MSP430 USB Developers Package. |
USB_config | Contains three files that configure the USB API for the application needs. In particular, they define the USB interfaces that are used for the respective demo application. These files were generated by the USB Descriptor Tool, located in the MSP430 USB Developers Package. |
USB_app | Files related to USB functionality, but which are part of the application and not the USB API itself. These files handle the keyboard emulation, and implement the virtual storage volume mounted by the device. The directory also contains the USB "event handlers". |