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:C:/ti/c2000/C2000Ware_3_04_00_00/driverlib/f2837xd/driverlib/adc.h;第176行:错误#41:需要标识符

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1000677/tms320f28377d-c-ti-c2000-c2000ware_3_04_00_00-driverlib-f2837xd-driverlib-adc-h-line-176-error-41-expected-an-identifier

器件型号:TMS320F28377D

您好!

从上一个帖子开始、我仍然收到上面的错误。  

我假设我已经完成了与原始海报相同的操作、其中包含了 driverlib.h、并在器件支持部分中包含了一个类似的标题、该标题尝试同时定义 ADC。

3年前原始帖子中的问题是否仍未解决?  

我使用位字段方法定义 ADC -不包含 driverlib ADC 文件并仅使用器件支持文件是否安全?  

此致、
Joel

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

    您好、Joel、

    您能否发布您遇到的错误?

    此致

    Siddharth