STAR
Cal STAR — firmware, DAQ server, and engine design
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_DEVICE_IRQ

#define IS_NVIC_DEVICE_IRQ ( IRQ)
Value:
(((int32_t)IRQ) >= 0x00)

Definition at line 351 of file stm32h7xx_hal_cortex.h.

◆ IS_NVIC_PREEMPTION_PRIORITY

#define IS_NVIC_PREEMPTION_PRIORITY ( PRIORITY)
Value:
((PRIORITY) < 0x10UL)

Definition at line 347 of file stm32h7xx_hal_cortex.h.

◆ 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))
#define NVIC_PRIORITYGROUP_0
0 bits for pre-emption priority 4 bits for subpriority
#define NVIC_PRIORITYGROUP_1
1 bits for pre-emption priority 3 bits for subpriority
#define NVIC_PRIORITYGROUP_3
3 bits for pre-emption priority 1 bits for subpriority
#define NVIC_PRIORITYGROUP_2
2 bits for pre-emption priority 2 bits for subpriority
#define NVIC_PRIORITYGROUP_4
4 bits for pre-emption priority 0 bits for subpriority

Definition at line 341 of file stm32h7xx_hal_cortex.h.

◆ IS_NVIC_SUB_PRIORITY

#define IS_NVIC_SUB_PRIORITY ( PRIORITY)
Value:
((PRIORITY) < 0x10UL)

Definition at line 349 of file stm32h7xx_hal_cortex.h.

◆ IS_SYSTICK_CLK_SOURCE

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

Definition at line 353 of file stm32h7xx_hal_cortex.h.