Preemption_Priority_Group
[MISC_Exported_Constants]

Defines

#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)

Define Documentation

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

Definition at line 161 of file misc.h.

Referenced by NVIC_SetVectorTable().

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

Definition at line 157 of file misc.h.

Referenced by NVIC_Init().

#define IS_NVIC_PRIORITY_GROUP ( GROUP   ) 
Value:
(((GROUP) == NVIC_PriorityGroup_0) || \
                                       ((GROUP) == NVIC_PriorityGroup_1) || \
                                       ((GROUP) == NVIC_PriorityGroup_2) || \
                                       ((GROUP) == NVIC_PriorityGroup_3) || \
                                       ((GROUP) == NVIC_PriorityGroup_4))

Definition at line 151 of file misc.h.

Referenced by NVIC_PriorityGroupConfig().

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

Definition at line 159 of file misc.h.

Referenced by NVIC_Init().

#define NVIC_PriorityGroup_0   ((uint32_t)0x700)

0 bits for pre-emption priority 4 bits for subpriority

Definition at line 140 of file misc.h.

Referenced by NVIC_Config(), and NVIC_Configuration().

#define NVIC_PriorityGroup_1   ((uint32_t)0x600)

1 bits for pre-emption priority 3 bits for subpriority

Definition at line 142 of file misc.h.

Referenced by main(), NVIC_Config(), and NVIC_Configuration().

#define NVIC_PriorityGroup_2   ((uint32_t)0x500)

2 bits for pre-emption priority 2 bits for subpriority

Definition at line 144 of file misc.h.

Referenced by main(), and NVIC_Configuration().

#define NVIC_PriorityGroup_3   ((uint32_t)0x400)

3 bits for pre-emption priority 1 bits for subpriority

Definition at line 146 of file misc.h.

#define NVIC_PriorityGroup_4   ((uint32_t)0x300)

4 bits for pre-emption priority 0 bits for subpriority

Definition at line 148 of file misc.h.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32