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.

[参考译文] AM2434:如何修改和设置未定义、中止、SVC 异常或中断的优先级?

Guru**** 2422600 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1316999/am2434-how-to-modify-and-set-the-priority-for-undefined-abort-svc-exceptions-or-interrupts

器件型号:AM2434

如何修改未定义、中止、SVC 异常或中断的优先级和设置其优先级?  SDK 未提供此类 API 接口、并且在查看 SDK 的所有源代码后、我们找不到任何可以修改优先级的地方。

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

    尊敬的 Lin:

    这些不可屏蔽的中断服务例程是在 HwiP_armv7r_vectors_nortos_asm.S 中设置的、并在 HwiP_armv7r_handlers_nortos.c 中定义:

    void __attribute__((interrupt ("undef")、section (".text.hwi")) Hwip_reserved_handler (void)
    {
      易失性 uint32_t loop = 1;
      while (loop!=0U)
      {
        ;
      }

    不建议更改这些参数。

    此致、

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

    我 已经 在 HwiP_armv7r_vectors_nortos_asm.S 和 HwiP_armv7r_handlers_nortos.c 中找到了定义、 但我找不到任何可以修改优先级的参数。 所以在这里修改 优先级?

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

    尊敬的 Lin:

    这些是不可屏蔽的中断。 它们的优先级是固定的、你无法更改它们。

    此致