C2000Ware includes several examples that demonstrate the capabilities of device and peripherals utilizing the various software components.
Examples are broadly categorized as follows:
Driverlib based examples: These examples demonstrate features and functionalities of peripherals using driverlib. Examples are provided for each device and for every main peripheral. This can be located under driverlib/<device>/examples. For instance, the adc examples for F28004x device can be found under
driverlib/f28004x/examples/adc. CCS projects for each example are provided in projectspec format within the CCS folder contained within the example which can be imported in to CCS and build. A user guide is available for driverlib examples which can be located under device_support/<device>/docs For instance, the driverlib example user guide for F2838x is located at device_support/f2838x/docs/F2838x_FRM_EX_UG.pdf
Bitfield based examples: These examples demonstrate features and functionalities of peripherals using the bitfield headers. Similar to driverlib examples, these are provided for each device and for every main peripheral. Bitfield examples can be located under
Examples for libraries: These examples demonstrate the features and functionalities of the various software libraries like DSP, Math and Digital Control etc. which have been explained in the previous sections. The examples for libraries are contained in an examples folder within each library. For instance, the examples for Digital Control Library (DCL) are located under