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.

[参考译文] TMS570LC4357:ESM 组2中断上的 QS

Guru**** 2448780 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1220669/tms570lc4357-qs-on-esm-group2-interrupt

器件型号:TMS570LC4357

大家好:

1、如何为组2自定义 esmhighinterrupt 由用户?
2、在哪里可以查询 ESM 组1、组2、组3的通道的特定信息?

祝你一切顺利

限制

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

    您好、Li

    Unknown 说:
    1、如何自定义组2的 esmhighinterrupt 由用户?

    我不明白您到底想要怎样进行自定义。

    基本上、我们处理的是、我们将 在 main.c 文件中重新定义 esmGroup2Notification、因为它是 hl_notification.c 中的 weak pragma、所以每当我们遇到级别2 ESM 错误时、处理器都会直接跳至  esmGroup2Notification 定义。

    所以,知道我们可以在"esmGroup2Notification "函数定义内编写所需的用户代码。

    Unknown 说:
    2、在哪里可以查询 ESM 组1、组2和组3的通道的具体信息?

    请参阅数据表中的"6.19.2 ESM 通道分配"。

    您可以找到显示不同错误通道组及其错误源的表。  

    --

    谢谢。此致、
    Jagadish。