Texas Instruments TMS320 DSP User Manual
Page 3

Contents
1
Overview
1.1
Scope of the Standard
............................................................................................
1.1.1
Rules and Guidelines
....................................................................................
1.2
Requirements of the Standard
..................................................................................
1.3
Goals of the Standard
............................................................................................
1.4
Intentional Omissions
............................................................................................
1.5
System Architecture
...............................................................................................
1.5.1
...............................................................................................
1.5.2
.................................................................................................
1.5.3
Core Run-Time Support
.................................................................................
2
General Programming Guidelines
...............................................................................
2.1
Use of C Language
...............................................................................................
2.2
Threads and Reentrancy
.........................................................................................
2.2.1
Threads
....................................................................................................
2.2.2
Preemptive vs. Non-Preemptive Multitasking
.........................................................
2.2.3
Reentrancy
................................................................................................
2.2.4
Example
...................................................................................................
2.3
Data Memory
2.3.1
Memory Spaces
..........................................................................................
2.3.2
Scratch versus Persistent
...............................................................................
2.3.3
Algorithm versus Application
............................................................................
2.4
Program Memory
.................................................................................................
2.5
ROM-ability
2.6
Use of Peripherals
................................................................................................
3
Algorithm Component Model
.....................................................................................
3.1
Interfaces and Modules
...........................................................................................
3.1.1
External Identifiers
.......................................................................................
3.1.2
Naming Conventions
.....................................................................................
3.1.3
Module Initialization and Finalization
..................................................................
3.1.4
Module Instance Objects
................................................................................
3.1.5
Design-Time Object Creation
...........................................................................
3.1.6
Run-Time Object Creation and Deletion
..............................................................
3.1.7
Module Configuration
....................................................................................
3.1.8
Example Module
..........................................................................................
3.1.9
Multiple Interface Support
...............................................................................
3.1.10
Interface Inheritance
....................................................................................
3.1.11
Summary
.................................................................................................
3.2
Algorithms
3.3
Packaging
3.3.1
Object Code
...............................................................................................
3.3.2
Header Files
..............................................................................................
3.3.3
Debug Verses Release
..................................................................................
SPRU352G – June 2005 – Revised February 2007
Contents
3