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/TMS320F28377D:能否在 TMS320F28377D 的 CLA 中使用关键字"swtickh"和"case"

Guru**** 2535150 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/903755/ccs-tms320f28377d-can-i-use-the-keyword-swtich-and-case-in-the-cla-of-tms320f28377d

器件型号:TMS320F28377D

工具/软件:Code Composer Studio

大家好、现在、我正在对状态机例程进行编程。 我计划使用算法在 CLA 中实现状态机。 如您所知、状态机始终采用诸如带指令之类的指令格式。 由于 CLA 和 CPU 之间的差异、我想知道"swickh"指令是否可以在 CLA 中使用。 此外、我的代码是从 Simulink 自动生成的。 "swtickh"指令默认为光化。  

谢谢。