This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what nvic_priority should i set?

hi,all!

i am confused about whicn priority should i set for my interrupt.

For deteils, I need a gpioe interrupt for my button, and this button is used to POWER OFF my device(using system_of_mode_enter();), so which priority should i choose?

By the way, why i would get this confusion is because i read the character "Exception (interrupt) management with a SoftDevicenrf" in the "51_reference_manual" page 170. According to what it said, the priority 0 is prepared for the LowerStack so i not sure if my priority also set to 0 will cause some problem or not.

Looking forward for your reply, thank you very much!

Related