Macros
Collaboration diagram for Preemption_Priority_Group:

Macros

#define IS_NVIC_OFFSET(OFFSET)   ((OFFSET) < 0x000FFFFF)
 
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define IS_NVIC_PRIORITY_GROUP(GROUP)
 
#define IS_NVIC_SUB_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10)
 
#define NVIC_PriorityGroup_0   ((uint32_t)0x700)
 
#define NVIC_PriorityGroup_1   ((uint32_t)0x600)
 
#define NVIC_PriorityGroup_2   ((uint32_t)0x500)
 
#define NVIC_PriorityGroup_3   ((uint32_t)0x400)
 
#define NVIC_PriorityGroup_4   ((uint32_t)0x300)
 

Detailed Description

Macro Definition Documentation

◆ IS_NVIC_OFFSET

#define IS_NVIC_OFFSET (   OFFSET)    ((OFFSET) < 0x000FFFFF)

◆ IS_NVIC_PREEMPTION_PRIORITY

#define IS_NVIC_PREEMPTION_PRIORITY (   PRIORITY)    ((PRIORITY) < 0x10)

◆ IS_NVIC_PRIORITY_GROUP

#define IS_NVIC_PRIORITY_GROUP (   GROUP)

◆ IS_NVIC_SUB_PRIORITY

#define IS_NVIC_SUB_PRIORITY (   PRIORITY)    ((PRIORITY) < 0x10)

◆ NVIC_PriorityGroup_0

#define NVIC_PriorityGroup_0   ((uint32_t)0x700)

0 bits for pre-emption priority 4 bits for subpriority

Definition at line 141 of file breezy/breezystm32/lib/STM32F10x_StdPeriph_Driver/inc/misc.h.

◆ NVIC_PriorityGroup_1

#define NVIC_PriorityGroup_1   ((uint32_t)0x600)

1 bits for pre-emption priority 3 bits for subpriority

Definition at line 144 of file breezy/breezystm32/lib/STM32F10x_StdPeriph_Driver/inc/misc.h.

◆ NVIC_PriorityGroup_2

#define NVIC_PriorityGroup_2   ((uint32_t)0x500)

2 bits for pre-emption priority 2 bits for subpriority

Definition at line 147 of file breezy/breezystm32/lib/STM32F10x_StdPeriph_Driver/inc/misc.h.

◆ NVIC_PriorityGroup_3

#define NVIC_PriorityGroup_3   ((uint32_t)0x400)

3 bits for pre-emption priority 1 bits for subpriority

Definition at line 150 of file breezy/breezystm32/lib/STM32F10x_StdPeriph_Driver/inc/misc.h.

◆ NVIC_PriorityGroup_4

#define NVIC_PriorityGroup_4   ((uint32_t)0x300)

4 bits for pre-emption priority 0 bits for subpriority

Definition at line 153 of file breezy/breezystm32/lib/STM32F10x_StdPeriph_Driver/inc/misc.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Mon Feb 28 2022 23:36:16