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.

[参考译文] TMS320F28069:关键字寄存器副作用

Guru**** 2568075 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/917077/tms320f28069-keyword-register-side-effect

器件型号:TMS320F28069

您好专家、

我的客户希望使用 register 关键字来提高 F28069(C28 core)中的一些变量访问速度。

他们想知道:

使用 register 关键字的限制。

使用 register 关键字时、请执行任何副作用。

BR

Emma

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

    尊敬的 Emma:

      有关详细信息、请参阅 TMS320C28x 优化 C/C++编译器用户指南中的寄存器变量和参数一章。

    请注意、如果启用优化、编译器将自动为变量使用寄存器。

    此致、

    Veena