STM CMSIS
CORTEX Preemption Priority Group

Macros

#define NVIC_PRIORITYGROUP_0   ((uint32_t)0x00000007U)
 
#define NVIC_PRIORITYGROUP_1   ((uint32_t)0x00000006U)
 
#define NVIC_PRIORITYGROUP_2   ((uint32_t)0x00000005U)
 
#define NVIC_PRIORITYGROUP_3   ((uint32_t)0x00000004U)
 
#define NVIC_PRIORITYGROUP_4   ((uint32_t)0x00000003U)
 

Detailed Description

Macro Definition Documentation

◆ NVIC_PRIORITYGROUP_0

#define NVIC_PRIORITYGROUP_0   ((uint32_t)0x00000007U)

0 bits for pre-emption priority 4 bits for subpriority

◆ NVIC_PRIORITYGROUP_1

#define NVIC_PRIORITYGROUP_1   ((uint32_t)0x00000006U)

1 bits for pre-emption priority 3 bits for subpriority

◆ NVIC_PRIORITYGROUP_2

#define NVIC_PRIORITYGROUP_2   ((uint32_t)0x00000005U)

2 bits for pre-emption priority 2 bits for subpriority

◆ NVIC_PRIORITYGROUP_3

#define NVIC_PRIORITYGROUP_3   ((uint32_t)0x00000004U)

3 bits for pre-emption priority 1 bits for subpriority

◆ NVIC_PRIORITYGROUP_4

#define NVIC_PRIORITYGROUP_4   ((uint32_t)0x00000003U)

4 bits for pre-emption priority 0 bits for subpriority