Appendix D – C Programming
Introduction
The C28x architecture, hardware, and compiler has been designed to efficiently support C code
programming.
Appendix D will focus on how to program in C for an embedded system. Issues related to
programming in C and how C behaves in the C28x environment will be discussed. Also, the C
compiler optimization features will be explained.
Learning Objectives
Learning Objectives
Learning Objectives
Learn the basic C environment for
Learn the basic C environment for
the C28x family
the C28x family
How to control the C environment
How to control the C environment
How to use the C
How to use the C
-
-
compiler optimizer
compiler optimizer
Discuss the importance of volatile
Discuss the importance of volatile
Explain optimization tips
Explain optimization tips
C28x – C Programming D- 1