Transcription of Programming TMS320x28xx and 28xxx Peripherals …
{{id}} {{{paragraph}}}
Application Report SPRAA85E November 2005 Revised December 2017. Programming TMS320x28xx and TMS320x28xxx Peripherals in C/C++. Lori Heustess, Whitney C2000. ABSTRACT. This application report explores hardware abstraction layer implementations to make Programming of Peripherals easy using C/C++ on TMS320x28xx and TMS320x28xxx devices. The methods of using bit field structure header files and the C2000 peripheral Driver Library are compared to each other and to the traditional #define macro approach. Topics of code efficiency and special case registers are also addressed. Contents 1 Introduction .. 2. 2 Traditional #define Approach .. 3. 3 Bit Field and Register-File Structure Approach .. 5. 4 Bit Field and Register-File Structure Advantages .. 12. 5 Code Size and Performance Using Bit Fields .. 13. 6 Read-Modify-Write Considerations When Using Bit Fields .. 17. 7 Special Case Peripherals .. 22. 8 C2000 peripheral Driver Library Approach.
SPRAA85E–November 2005–Revised December 2017 1 Submit Documentation Feedback Copyright © 2005–2017, Texas Instruments Incorporated Programming TMS320x28xx and ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}