Prusa MINI Firmware overview
CORTEX Private Macros
Collaboration diagram for CORTEX Private Macros:

Macros

#define IS_NVIC_PRIORITY_GROUP(GROUP)
 
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10U)
 
#define IS_NVIC_SUB_PRIORITY(PRIORITY)   ((PRIORITY) < 0x10U)
 
#define IS_NVIC_DEVICE_IRQ(IRQ)   ((IRQ) >= (IRQn_Type)0x00U)
 
#define IS_SYSTICK_CLK_SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

◆ IS_NVIC_PRIORITY_GROUP

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

◆ IS_NVIC_PREEMPTION_PRIORITY

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

◆ IS_NVIC_SUB_PRIORITY

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

◆ IS_NVIC_DEVICE_IRQ

#define IS_NVIC_DEVICE_IRQ (   IRQ)    ((IRQ) >= (IRQn_Type)0x00U)

◆ IS_SYSTICK_CLK_SOURCE

#define IS_SYSTICK_CLK_SOURCE (   SOURCE)
Value:
(((SOURCE) == SYSTICK_CLKSOURCE_HCLK) || \
NVIC_PRIORITYGROUP_4
#define NVIC_PRIORITYGROUP_4
Definition: stm32f4xx_hal_cortex.h:118
NVIC_PRIORITYGROUP_2
#define NVIC_PRIORITYGROUP_2
Definition: stm32f4xx_hal_cortex.h:112
NVIC_PRIORITYGROUP_3
#define NVIC_PRIORITYGROUP_3
Definition: stm32f4xx_hal_cortex.h:115
SYSTICK_CLKSOURCE_HCLK_DIV8
#define SYSTICK_CLKSOURCE_HCLK_DIV8
Definition: stm32f4xx_hal_cortex.h:128
NVIC_PRIORITYGROUP_0
#define NVIC_PRIORITYGROUP_0
Definition: stm32f4xx_hal_cortex.h:106
NVIC_PRIORITYGROUP_1
#define NVIC_PRIORITYGROUP_1
Definition: stm32f4xx_hal_cortex.h:109
SYSTICK_CLKSOURCE_HCLK
#define SYSTICK_CLKSOURCE_HCLK
Definition: stm32f4xx_hal_cortex.h:129