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.
工具/软件:Code Composer Studio
我处于在 F28377S 上实现 CAN 控制器的项目的早期阶段。 我只想确保使用最新版本 C200Ware (1.00.03.00)内的维护库。 CAN 总线(CAN_loopback.c)的示例似乎使用了"已弃用"文件夹中的函数和库、这对其可维护性没有太大的信心。
在示例代码中、调用是:
CANBitRateSet (uint32_t ui32Base、uint32_t ui32SourceClock、uint32_t ui32BitRate);
我只能在以下位置找到它们:\C2000Ware_1_00_03_00\device_support\f2837xs\common\弃 用\driverlib\can.h
在某些搜索中、我偶然发现了具有以下函数的\C2000Ware_1_00_03_00\driverlib\f2837xs\driverlib\can.h:
CAN_setBitRate (uint32_t base、uint32_t clock、uint32_t bitrate、uint16_t bitTime);
我想知道我应该使用哪些方法向前推进? 我的项目的其余部分包括"device_support"目录中的库、但我不想使用很快消失的内容。
谢谢、
加伦