S32K3XX INTERRUPT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3XX INTERRUPT

Jump to solution
1,328 Views
Embedded_novice
Contributor III

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

0 Kudos
Reply
1 Solution
1,288 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,289 Views
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 Kudos
Reply
%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%3EI%20want%20to%20know%20the%20relationship%20between%20the%20interrupt%20number%20and%20interrupt%20priority%20of%20S32K3XX.%20The%20smaller%20the%20number%2C%20the%20lower%20the%20interrupt%20priority%3F%20Where%20can%20I%20find%20the%20relevant%20description%20in%20the%20reference%20manual%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3XX%20INTERRUPT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3E%E6%95%B0%E5%80%BC%E8%B6%8A%E4%BD%8E%EF%BC%8C%E4%B8%AD%E6%96%AD%E4%BC%98%E5%85%88%E7%BA%A7%E8%B6%8A%E9%AB%98%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EEach%20priority%20field%20holds%20a%20priority%20value%2C%200-255.%20%3CU%3EThe%20lower%20the%20value%2C%20the%20greater%20the%20priority%3C%2FU%3E%20of%20the%20corresponding%20interrupt.%20If%20enabled%2C%20the%20processor%20can%20implement%20only%20bits%5B7%3An%5D%20of%20each%20field%2C%20bits%5Bn-x%3A0%5D%20read%20as%20zero%20and%20ignore%20writes.%20The%20values%20of%20n%20and%20x%20are%20implementation%20defined.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.arm.com%2Fdocumentation%2Fdui0646%2Fc%2FCortex-M7-Peripherals%2FNested-Vectored-Interrupt-Controller%2FInterrupt-Priority-Registers%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.arm.com%2Fdocumentation%2Fdui0646%2Fc%2FCortex-M7-Peripherals%2FNested-Vectored-Interrupt-Controller%2FInterrupt-Priority-Registers%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E