Macros | |
#define | GLOBAL_EXCEPTION_DISABLE() |
Disable interrupts globally in the system(apart from the NMI). This macro must be used in conjunction with the GLOBAL_EXCEPTION_ENABLE macro since this last one will close the brace that the current macro opens. This means that both macros must be located at the same scope level. More... | |
#define | GLOBAL_EXCEPTION_ENABLE() |
Restore interrupts from the previous global disable(apart from the NMI). More... | |
#define | GLOBAL_INT_DISABLE() |
Disable interrupts globally in the system. This macro must be used in conjunction with the GLOBAL_INT_RESTORE macro. More... | |
#define | GLOBAL_INT_RESTORE() |
Restore global interrupt. More... | |
#define | LOCAL_INT_DISABLE(IRQn_Type) |
Disable external interrupts with a priority lower than IRQn_Type in the system. This macro must be used in conjunction with the LOCAL_INT_RESTORE macro since this last one will close the brace that the current macro opens. This means that both macros must be located at the same scope level. More... | |
#define | LOCAL_INT_RESTORE() |
Restore external interrupts(apart from the BLE) from the previous disable. More... | |
#define | CHECK_IS_ON_FPGA() (MCU_SUB->FPGA_CTRL & MCU_SUB_FPGA_CTRL_REG_EXIST) |
Check if the program is running on the FPGA platform. More... | |
#define | SYSTICK_RELOAD_VALUE (SysTick->LOAD) |
#define | SYSTICK_CURRENT_VALUE (SysTick->VAL) |
#define CHECK_IS_ON_FPGA | ( | ) | (MCU_SUB->FPGA_CTRL & MCU_SUB_FPGA_CTRL_REG_EXIST) |
Check if the program is running on the FPGA platform.
Definition at line 138 of file gr533x_hal.h.
#define GLOBAL_EXCEPTION_DISABLE | ( | ) |
Disable interrupts globally in the system(apart from the NMI). This macro must be used in conjunction with the GLOBAL_EXCEPTION_ENABLE macro since this last one will close the brace that the current macro opens. This means that both macros must be located at the same scope level.
Definition at line 81 of file gr533x_hal.h.
#define GLOBAL_EXCEPTION_ENABLE | ( | ) |
Restore interrupts from the previous global disable(apart from the NMI).
Definition at line 90 of file gr533x_hal.h.
#define GLOBAL_INT_DISABLE | ( | ) |
Disable interrupts globally in the system. This macro must be used in conjunction with the GLOBAL_INT_RESTORE macro.
Definition at line 104 of file gr533x_hal.h.
#define GLOBAL_INT_RESTORE | ( | ) |
Restore global interrupt.
Definition at line 112 of file gr533x_hal.h.
#define LOCAL_INT_DISABLE | ( | IRQn_Type | ) |
Disable external interrupts with a priority lower than IRQn_Type in the system. This macro must be used in conjunction with the LOCAL_INT_RESTORE macro since this last one will close the brace that the current macro opens. This means that both macros must be located at the same scope level.
Definition at line 122 of file gr533x_hal.h.
#define LOCAL_INT_RESTORE | ( | ) |
Restore external interrupts(apart from the BLE) from the previous disable.
Definition at line 131 of file gr533x_hal.h.
#define SYSTICK_CURRENT_VALUE (SysTick->VAL) |
SysTick Current value.
Definition at line 141 of file gr533x_hal.h.
#define SYSTICK_RELOAD_VALUE (SysTick->LOAD) |
SysTick Reload value.
Definition at line 140 of file gr533x_hal.h.