How to configure NVIC interrupt priorities?

Hi there, 

We are new to Zephyr, and as a test we are currently porting our existing application onto Zephyr from a different OS. Have gone through the NRF SDK Fundamentals course quite recently (ncs 2.5.1).

It seems as if when you configure a peripheral (with interrupts) using the sdk, you never specify the interrupt priority? I assume "under the hood" a default priority is then selected, and all peripherals then run at the same interrupt priority. Can you please advise how we can configure interrupt priorities and point to some documentation?

Also, can any priority level be selected, or are certain priority levels reserved by Zephyr? Any documentation on interrupts will be appreciated.

Regards,

Frikkie

Related