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.

[参考译文] CCS/DRV8312-C2-KIT:表达式窗口中缺少类型 getNatural ()

Guru**** 2534260 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/933236/ccs-drv8312-c2-kit-type-getnatural-missing-from-expressions-window

器件型号:DRV8312-C2-KIT

工具/软件:Code Composer Studio

大家好、我按照 DRV8312-C2-KIT 控制指南操作、要求我使用以下命令在窗口中输入表达式:

expAdd("EnableFlag" , getNatural ());
当尝试通过脚本控制台输入此命令时、我得到了一个 unsigned int、作为 EnableFlag 的类型。 我还检查了脚本 API,但没有找到任何 getNatural ()函数。
是否仍然可以使用 EnableFlag 表达式的 Natural 类型? (我使用的是 CCS10)。