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
Содержание C28 Series
Страница 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Страница 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Страница 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Страница 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Страница 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Страница 275: ...Appendix eZdsp F2812 eZdsp F2812 Connector Header and Pin Diagram C28x Appendix A eZdsp F2812 A 3 ...
Страница 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Страница 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Страница 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Страница 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Страница 281: ...Appendix JP7 JP8 JP11 JP12 Boot Mode Select JP9 PLL Disable DS1 DS2 LEDs C28x Appendix A eZdsp F2812 A 9 ...
Страница 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...