Naming Conventions
Naming Conventions
The header files use a familiar set of naming conventions. They are consistent with the Code
Composer Studio configuration tool, and generated file naming conventions
Structure Naming Conventions
Structure Naming Conventions
The DSP281x header files define:
The DSP281x header files define:
All of the peripheral structures
All of the peripheral structures
All of the register names
All of the register names
All of the bit field names
All of the bit field names
All of the register addresses
All of the register addresses
PeripheralName
PeripheralName
.
.
RegisterName
RegisterName
.all
.all
// Access full 16 or 32
// Access full 16 or 32
-
-
bit register
bit register
PeripheralName
PeripheralName
.
.
RegisterName
RegisterName
.half.LSW
.half.LSW
// Access low 16
// Access low 16
-
-
bits of 32
bits of 32
-
-
bit register
bit register
PeripheralName
PeripheralName
.
.
RegisterName
RegisterName
.half.MSW
.half.MSW
// Access high 16
// Access high 16
-
-
bits of 32
bits of 32
-
-
bit register
bit register
PeripheralName
PeripheralName
.
.
RegisterName
RegisterName
.bit.
.bit.
FieldName
FieldName
// Access specified bit fields of register
// Access specified bit fields of register
Notes: [1] “
Notes: [1] “
PeripheralName
PeripheralName
” are assigned by TI and found in the DSP281x header files.
” are assigned by TI and found in the DSP281x header files.
They are a combination of capital and small letters (i.e. CpuTi
They are a combination of capital and small letters (i.e. CpuTi
mer0Regs).
mer0Regs).
[2] “
[2] “
RegisterName
RegisterName
” are the same names as used in the data sheet.
” are the same names as used in the data sheet.
They are always in capital letters (i.e. TCR, TIM, TPR,.
They are always in capital letters (i.e. TCR, TIM, TPR,.
.).
.).
[3] “
[3] “
FieldName
FieldName
” are the same names as used in the data sheet.
” are the same names as used in the data sheet.
They are always in capital letters (i.e. POL, TOG, TSS,..).
They are always in capital letters (i.e. POL, TOG, TSS,..).
Code Maestro to the Rescue!
Code Maestro to the Rescue!
3 - 6
C28x - Peripheral Registers Header Files
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...