EasyManua.ls Logo

Texas Instruments C2000 - CLA Task Programming; CLA C Language Implementation and Restrictions

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Control Law Accelerator (CLA)
10 - 10 C2000 Microcontroller Workshop - Control Law Accelerator
CLA Task Programming
CLA Task Programming
Can be written in C or assembly code
Assembly code will give best performance
for time-critical tasks
Writing in assembly may not be so bad!
CLA programs in floating point
Often not that much code in a task
Commonly, the user will use assembly for
critical tasks, and C for non-critical tasks
CLA C Language Implementation and Restrictions
CLA C Language Implementation
Supports C only
(no C++ or GCC extension support)
Different data type sizes than C28x CPU
No support for 64-bit integer or 64-bit floating point
CLA architecture is designed for 32-bit data types
16-bit computations incur overhead for sign-extension
Primarily used for reading and writing to 16-bit
peripheral registers
TYPE
CPU
CLA
char, short
16 bit
16 bit
int
16 bit
32 bit
long
32 bit
32 bit
long long
64 bit
32 bit
float, double
32 bit
32
bit
long double
64 bit
32 bit
pointers
32 bit
16 bit

Table of Contents

Other manuals for Texas Instruments C2000

Related product manuals