Macros | |
#define | CO_MAX(a, b) ((a) > (b) ? (a) : (b)) |
compare if a > b More... | |
#define | BLE_INT_DISABLE() |
Disable BLE_IRQn and BLESLP_IRQn. More... | |
#define | BLE_INT_RESTORE() |
Restore BLE_IRQn and BLESLP_IRQn. More... | |
#define | GLOBAL_INT_DISABLE() |
Disable interrupts globally in the system. This macro must be used in conjunction with the GLOBAL_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 | GLOBAL_INT_RESTORE() |
Restore external interrupts(Exception Type: 16~255) from the previous disable. 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() (AON->FPGA_CTRL & AON_REG_FPGA_CTRL_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 BLE_INT_DISABLE | ( | ) |
Disable BLE_IRQn and BLESLP_IRQn.
Definition at line 106 of file gr55xx_hal.h.
#define BLE_INT_RESTORE | ( | ) |
Restore BLE_IRQn and BLESLP_IRQn.
Definition at line 121 of file gr55xx_hal.h.
#define CHECK_IS_ON_FPGA | ( | ) | (AON->FPGA_CTRL & AON_REG_FPGA_CTRL_EXIST) |
Check if the program is running on the FPGA platform.
Definition at line 189 of file gr55xx_hal.h.
#define CO_MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
#define GLOBAL_INT_DISABLE | ( | ) |
Disable interrupts globally in the system. This macro must be used in conjunction with the GLOBAL_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 137 of file gr55xx_hal.h.
#define GLOBAL_INT_RESTORE | ( | ) |
Restore external interrupts(Exception Type: 16~255) from the previous disable.
Definition at line 157 of file gr55xx_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 173 of file gr55xx_hal.h.
#define LOCAL_INT_RESTORE | ( | ) |
Restore external interrupts(apart from the BLE) from the previous disable.
Definition at line 182 of file gr55xx_hal.h.
#define SYSTICK_CURRENT_VALUE (SysTick->VAL) |
SysTick Current value.
Definition at line 192 of file gr55xx_hal.h.
#define SYSTICK_RELOAD_VALUE (SysTick->LOAD) |
SysTick Reload value.
Definition at line 191 of file gr55xx_hal.h.