S32K3XX INTERRUPT

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K3XX INTERRUPT

跳至解决方案
1,455 次查看
Embedded_novice
Contributor III

我想知道S32K3XX的中断数字与中断优先级之间的关系,数字越小中断优先级越小吗?请问我在参考手册的哪些地方能看到相关的描述?感谢!

0 项奖励
回复
1 解答
1,415 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

数值越低,中断优先级越高。

Each priority field holds a priority value, 0-255. The lower the value, the greater the priority of the corresponding interrupt. If enabled, the processor can implement only bits[7:n] of each field, bits[n-x:0] read as zero and ignore writes. The values of n and x are implementation defined.

https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Nested-Vectored-Interrupt-Co...

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,416 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

数值越低,中断优先级越高。

Each priority field holds a priority value, 0-255. The lower the value, the greater the priority of the corresponding interrupt. If enabled, the processor can implement only bits[7:n] of each field, bits[n-x:0] read as zero and ignore writes. The values of n and x are implementation defined.

https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Nested-Vectored-Interrupt-Co...

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2077927%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3ES32K3XX%20INTERRUPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2077927%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93S32K3XX%E7%9A%84%E4%B8%AD%E6%96%AD%E6%95%B0%E5%AD%97%E4%B8%8E%E4%B8%AD%E6%96%AD%E4%BC%98%E5%85%88%E7%BA%A7%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB%EF%BC%8C%E6%95%B0%E5%AD%97%E8%B6%8A%E5%B0%8F%E4%B8%AD%E6%96%AD%E4%BC%98%E5%85%88%E7%BA%A7%E8%B6%8A%E5%B0%8F%E5%90%97%EF%BC%9F%E8%AF%B7%E9%97%AE%E6%88%91%E5%9C%A8%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C%E7%9A%84%E5%93%AA%E4%BA%9B%E5%9C%B0%E6%96%B9%E8%83%BD%E7%9C%8B%E5%88%B0%E7%9B%B8%E5%85%B3%E7%9A%84%E6%8F%8F%E8%BF%B0%EF%BC%9F%E6%84%9F%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E