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/TMS320F28069:stdint.h 问题

Guru**** 2547860 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/627522/ccs-tms320f28069-stdint-h-question

器件型号:TMS320F28069

工具/软件:Code Composer Studio

当我找到如何定义变量类型时、我发现 int 或 long 等有许多别名

有人能告诉我为什么?如何使用?

/* 7.18.1.1精确宽度整数类型*/

/* 7.18.1.2最小宽度整数类型*/

/* 7.18.1.3最快最小宽度整数类型*/

/* 7.18.1.4能够保存对象指针的整数类型*/.....

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    对于常规编程、您可以使用7.18.1.1精确宽度整数类型。
    可用于边界检查的其他器件。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您的回复
    在什么情况下、我需要检查边界?