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/TMS570LS0432:HalCoGen 中的 VIM 问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/611650/ccs-tms570ls0432-vim-question-in-halcogen

器件型号:TMS570LS0432
主题中讨论的其他器件:HALCOGEN

工具/软件:Code Composer Studio

大家好、TI 工程师

我想找到有关 VIM _enable_IRQ()的详细信息。 如果我想为多个任务使用中断源、如何在 VIM 中设置? 我应该自己编写函数吗? 或者我可以在 VIM 中进行设置。 这意味着 VIM 中的多个任务具有相同的优先级。

谢谢、此致!

新宇  

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

    如果您在 VIM 通道 x 选项卡下启用中断、HALCoGen 会生成 ISR。 ISR 位于外设驱动程序中、例如 CAN.c 或 Gio.c 这些 ISR 可用于您的任务。

    FreeRTOS 使用 RTI timer0和 counter0以及它自己的 ISR (在 OS_portasm.asm 中定义的 vPortPreempetiveTick)。