C-1
Appendix A
Program Examples
This appendix provides:
-
A brief introduction to the process for generating executable program files.
-
Sample programs for implementing simple routines and using interrupts,
I/O pins, the timer, and the serial ports.
This appendix is not intended to teach you how to use the software develop-
ment tools. The following documents cover these tools in detail:
TMS320C1x/C2x/C2xx/C5x Assembly Language Tools User’s Guide
(literature number SPRU018)
TMS320C2x/C2xx/C5x Optimizing C Compiler User’s Guide
(literature number SPRU024)
TMS320C2xx C Source Debugger User’s Guide
(literature number SPRU151)
For more information about these documents and about ordering them, see
Related Documentation From Texas Instruments on page vi of the Preface.
Topic
Page
C.1
About These Program Examples
C-2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2
Shared Program Code
C-5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.3
Task-Specific Program Code
C-8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4
Introduction to Generating Boot Loader Code
C-23
. . . . . . . . . . . . . . . . . .
Appendix C