当前位置:网站首页>F280049库函数API编程、直接寄存器控制编程和混合编程方法

F280049库函数API编程、直接寄存器控制编程和混合编程方法

2022-08-09 11:16:00 量子力学和生命科学

TI最近两年出的C2000系列芯片,TI开始普遍采用driver lib 提供API的方式来操作处理器了。

怎么适应TIC2000的API呢?

其实看两篇TI的文档,就能很容易把习惯转变过来了。

第一篇:F28004x_FRM_EX_UG.pdf

位于C2000Ware_3_04_00_00\device_support\f28004x\docs中。大家需要转c2000ware。

该文档一步一步教大家库函数API编程、直接寄存器控制编程和混合编程方法的工程建立方法。

第二篇:F28004x Peripheral Driver Library 2.01.00.00 这篇文档官网没有找到,我上传到csdn的资源上了,在csdn搜索:F28004x_DriverLib_Users_Guide.pdf即可任意下载.

2.3 Project: Adding Bitfield or Driverlib Support
        F28004x devices support two types of development software, driver library APIs and bitfield structures. Each have their advantages and are implemented to be compatible together within the same user application. This section details how to add driverlib support to a bitfield project as well as how to add bitfield support to a driverlib project.

        When combining bit-field and driverlib support, add a pre-defined symbol within the project properties called "_DUAL_HEADERS". This is required to avoid having conflicting definitions (in
enums/structs/macros) which share the exact same names in both bit-field and driverlib headers.
 

原网站

版权声明
本文为[量子力学和生命科学]所创,转载请带上原文链接,感谢
https://blog.csdn.net/blueoce/article/details/120538073