Annex EVK1.4 MCU Priority List¶
Taking as an example the EVK1.4 hardware which uses an STM32G4 MCU, the interrupt priorities are defined as shown below.
/* Priorities */
#define PRIO_MULTI_RADIO_TIMER_IRQ 0
#define PRIO_APP_TIMER_IRQ 1
#define PRIO_AUDIO_SAI_DMA_TX_IRQ 1
#define PRIO_AUDIO_SAI_DMA_RX_IRQ 1
#define PRIO_SYSTICK_IRQ 1
#define PRIO_RADIO_IRQ 2
#define PRIO_RADIO_DMA_RX_CPLT 2
#define PRIO_RADIO_DMA_TX_CPLT 2
#define PRIO_USB_LP_IRQ 8
#define PRIO_LPUART_IRQ 14
#define PRIO_LPUART_DMA_TX_CPLT 14
#define PRIO_LPUART_DMA_RX_CPLT 14
#define PRIO_USB_DET_IRQ 14
In this case, the value range is 0-15. A lower number indicates a higher priority. Although, since users need to provide their own BSP implementation, they will need to define their own priorities naming and values according to the chosen platform.