STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CORTEX Private Macros
Collaboration diagram for CORTEX Private Macros:

Macros

#define IS_NVIC_PRIORITY_GROUP(GROUP)
 
#define IS_NVIC_PREEMPTION_PRIORITY(PRIORITY)
 
#define IS_NVIC_SUB_PRIORITY(PRIORITY)
 
#define IS_NVIC_DEVICE_IRQ(IRQ)
 
#define IS_SYSTICK_CLK_SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

◆ IS_NVIC_PRIORITY_GROUP

#define IS_NVIC_PRIORITY_GROUP ( GROUP)

#include <stm32f4xx_hal_cortex.h>

Value:
(((GROUP) == NVIC_PRIORITYGROUP_0) || \
((GROUP) == NVIC_PRIORITYGROUP_1) || \
((GROUP) == NVIC_PRIORITYGROUP_2) || \
((GROUP) == NVIC_PRIORITYGROUP_3) || \
((GROUP) == NVIC_PRIORITYGROUP_4))
#define NVIC_PRIORITYGROUP_0
#define NVIC_PRIORITYGROUP_1
#define NVIC_PRIORITYGROUP_3
#define NVIC_PRIORITYGROUP_2
#define NVIC_PRIORITYGROUP_4

Definition at line 307 of file stm32f4xx_hal_cortex.h.

Referenced by HAL_NVIC_GetPriority(), and HAL_NVIC_SetPriorityGrouping().

◆ IS_NVIC_PREEMPTION_PRIORITY

#define IS_NVIC_PREEMPTION_PRIORITY ( PRIORITY)

#include <stm32f4xx_hal_cortex.h>

Value:
((PRIORITY) < 0x10U)

Definition at line 313 of file stm32f4xx_hal_cortex.h.

Referenced by HAL_NVIC_SetPriority().

◆ IS_NVIC_SUB_PRIORITY

#define IS_NVIC_SUB_PRIORITY ( PRIORITY)

#include <stm32f4xx_hal_cortex.h>

Value:
((PRIORITY) < 0x10U)

Definition at line 315 of file stm32f4xx_hal_cortex.h.

Referenced by HAL_NVIC_SetPriority().

◆ IS_NVIC_DEVICE_IRQ

#define IS_NVIC_DEVICE_IRQ ( IRQ)

◆ IS_SYSTICK_CLK_SOURCE

#define IS_SYSTICK_CLK_SOURCE ( SOURCE)

#include <stm32f4xx_hal_cortex.h>

Value:
(((SOURCE) == SYSTICK_CLKSOURCE_HCLK) || \
#define SYSTICK_CLKSOURCE_HCLK_DIV8
#define SYSTICK_CLKSOURCE_HCLK

Definition at line 319 of file stm32f4xx_hal_cortex.h.

Referenced by HAL_SYSTICK_CLKSourceConfig().