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.

[参考译文] TMS320F280025:在 TMS320F280025C 上触发用户中断

Guru**** 2390755 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1416093/tms320f280025-trigger-user-interrupt-on-tms320f280025c

器件型号:TMS320F280025

工具与软件:

您好!

我尝试 使用 Trap Assembly 命令触发"INT_User1"、而不是收到一些错误。

有人能从下面的代码中告诉我我做了什么错吗?

  

 

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

    尊敬的 Shubham:

    请使用以下命令:  

    asm (" trap #20");

    您需要在"双引号后加上空格。 请查看如何在 driverlib 中使用其他汇编指令作为示例。

    谢谢

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

    它起作用了  

    感谢您的帮助。