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.

[参考译文] CODECOMPOSER:我是否可以得到关于 ButtonsPoll 示例的一些澄清?

Guru**** 2782445 points

Other Parts Discussed in Thread: EK-TM4C1294XL

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1613915/codecomposer-may-i-get-some-clarification-on-the-buttonspoll-example

部件号: CODECOMPOSER
Thread 中讨论的其他器件: EK-TM4C1294XL

您好:

我将 CCS 版本 20.4.1.4_1.10.1 与 TivaWare_C_Series-2.2.0.295 配合使用。  我正在尝试将示例 ButtonsPoll 示例调整为连接到 EK-TM4C1294XL Launchpad 的开关。  我想我理解的代码大部分的下面混杂了我:

image.png
 
第 123 行的用途是什么?  G_ui8ButtonStates 在下一行被覆盖之前不会被使用。  123 号线是死木还是我遗漏了什么?
 
感谢您的时间和耐心!
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    没关系。  我显然没有清楚地思考。