◆ IS_NVIC_DEVICE_IRQ
#define IS_NVIC_DEVICE_IRQ |
( |
|
__IRQ__ | ) |
((__IRQ__) >= 0x00) |
Check if NVIC deivce IRQ is valid.
- Parameters
-
<strong>IRQ</strong> | NVIC device IRQ. |
- Return values
-
SET | (IRQ is valid) or RESET (IRQ is invalid) |
Definition at line 315 of file gr55xx_hal_cortex.h.
◆ IS_NVIC_PREEMPTION_PRIORITY
#define IS_NVIC_PREEMPTION_PRIORITY |
( |
|
__PRIORITY__ | ) |
((__PRIORITY__) < 0x80U) |
Check if NVIC priority group is valid.
- Parameters
-
<strong>PRIORITY</strong> | NVIC priority group. |
- Return values
-
SET | (PRIORITY is valid) or RESET (PRIORITY is invalid) |
Definition at line 301 of file gr55xx_hal_cortex.h.
◆ IS_NVIC_PRIORITY_GROUP
#define IS_NVIC_PRIORITY_GROUP |
( |
|
__GROUP__ | ) |
|
Value:
Check if NVIC priority group is valid.
- Parameters
-
<strong>GROUP</strong> | NVIC priority group. |
- Return values
-
SET | (GROUP is valid) or RESET (GROUP is invalid) |
Definition at line 287 of file gr55xx_hal_cortex.h.
◆ IS_NVIC_SUB_PRIORITY
#define IS_NVIC_SUB_PRIORITY |
( |
|
__PRIORITY__ | ) |
((__PRIORITY__) <= 0xFFU) |
Check if NVIC sub priority is valid.
- Parameters
-
<strong>PRIORITY</strong> | NVIC sub priority. |
- Return values
-
SET | (PRIORITY is valid) or RESET (PRIORITY is invalid) |
Definition at line 308 of file gr55xx_hal_cortex.h.
◆ IS_SYSTICK_CLK_SOURCE
#define IS_SYSTICK_CLK_SOURCE |
( |
|
__SOURCE__ | ) |
|
Value:
Check if SYSTICK clock source is valid.
- Parameters
-
<strong>SOURCE</strong> | SYSTICK clock source. |
- Return values
-
SET | (SOURCE is valid) or RESET (SOURCE is invalid) |
Definition at line 322 of file gr55xx_hal_cortex.h.
#define NVIC_PRIORITYGROUP_4
4 bits for pre-emption priority, 4 bits for subpriority
#define SYSTICK_CLKSOURCE_REFCLK
SYSTICK clock source External Reference Clock.
#define NVIC_PRIORITYGROUP_2
2 bits for pre-emption priority, 6 bits for subpriority
#define NVIC_PRIORITYGROUP_6
6 bits for pre-emption priority, 2 bits for subpriority
#define NVIC_PRIORITYGROUP_3
3 bits for pre-emption priority, 5 bits for subpriority
#define NVIC_PRIORITYGROUP_5
5 bits for pre-emption priority, 3 bits for subpriority
#define NVIC_PRIORITYGROUP_0
0 bit for pre-emption priority, 8 bits for subpriority
#define NVIC_PRIORITYGROUP_1
1 bit for pre-emption priority, 7 bits for subpriority
#define SYSTICK_CLKSOURCE_HCLK
SYSTICK clock source HCLK.
#define NVIC_PRIORITYGROUP_7
7 bits for pre-emption priority, 1 bit for subpriority