This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F28377D-EP:带有 SysConfig 的 device.h 文件

Guru**** 2041660 points
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1190300/tms320f28377d-ep-device-h-file-with-sysconfig

器件型号:TMS320F28377D-EP
Thread 中讨论的其他器件:SysConfigC2000WARE

大家好、

我已开始使用 SysConfig 示例实施项目。 我注意到、自动创建的文件 board.h 需要一个"device.h"。  这个"device.h"应该由我填充。 我想知道这是什么目的? 我无法使用具有不同名称的自定义文件进行器件初始化? 这背后是否有我找不到的原因?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    SysConfig 使用 DriverLib API 和在 device.h 中声明的器件寄存器

    device.h 将从 C2000Ware device_support 文件夹复制到器件文件夹下的工程中。

    C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2837xd/common/include/device.h

    您正在计划的任何定制都可以在单独的文件中完成,然后在 main.c 中的 board_init()之后调用初始化函数

    此致、Santosh