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.

[参考译文] TMS320F280039C:其中是基本数据类型"uint16_t"已定义

Guru**** 2524460 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1197796/tms320f280039c-where-is-basic-data-type-uint16_t-defined

器件型号:TMS320F280039C

尊敬的香榭丽舍

我向我们的客户提出这一问题。

我们通常在 C 中使用"uint16_t"

它是在哪里定义的?

有何不同? 位字段文件? 还是在 RTS (运行时支持库)或编译器中?

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

    您好、Wayne、

    它在 Compiler Include 文件夹中定义。

    C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include/sys/_stdint.h

    在源代码中、将光标放在 uint16_t 上、然后右键单击、然后选择"Open Declaration"、它将带您进入声明文件

    此致、Santosh