F281x C-Code Header Files
F281x C-Code Header Files
The C-code header files consists of .h, c source files, linker command files, and other useful
example programs, documentations and add-ins for Code Composer Studio.
DSP281x Header File Package
DSP281x Header File Package
(http://www.
(http://www.
ti
ti
.com, literature # SPRC097)
.com, literature # SPRC097)
Simplifies program of peripherals and
Simplifies program of peripherals and
other functions
other functions
Takes care of register definitions and
Takes care of register definitions and
addresses
addresses
Header file package consists of:
Header file package consists of:
\
\
DSP281x_headers
DSP281x_headers
\
\
include
include
Æ
Æ
.h files
.h files
\
\
DSP281x_common
DSP281x_common
\
\
src
src
Æ
Æ
.c source files
.c source files
\
\
DSP281x_headers
DSP281x_headers
\
\
cmd
cmd
Æ
Æ
linker command files
linker command files
\
\
DSP281x_headers
DSP281x_headers
\
\
gel
gel
Æ
Æ
.gel files for CCS
.gel files for CCS
\
\
DSP281x_examples
DSP281x_examples
Æ
Æ
example programs
example programs
\
\
doc
doc
Æ
Æ
documentation
documentation
TI has done all of the work for you!
TI has done all of the work for you!
A peripheral is programmed by writing values to a set of registers. Sometimes, individual fields
are written to as bits, or as bytes, or as entire words. Unions are used to overlap memory
(register) so the contents can be accessed in different ways. The header files group all the
registers belonging to a specific peripheral.
A DSP281x_Peripheral.gel GEL file can provide a pull down menu to load peripheral data
structures into a watch window. Code Composer Studio can load a GEL file automatically. To
include fuctions to the standard F2812.gel that is part of Code Composer Studio, add:
GEL_LoadGel(“base_path/gel/DSP281x_Peripheral.gel”)
C28x - Peripheral Registers Header Files
3 - 9
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 ...