STM32L443xx HAL User Manual
|
Defines | |
#define | __HAL_FIREWALL_IS_ENABLED() HAL_IS_BIT_CLR(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS) |
Check whether the FIREWALL is enabled or not. | |
#define | __HAL_FIREWALL_PREARM_ENABLE() |
Enable FIREWALL pre arm. | |
#define | __HAL_FIREWALL_PREARM_DISABLE() |
Disable FIREWALL pre arm. | |
#define | __HAL_FIREWALL_VOLATILEDATA_SHARED_ENABLE() |
Enable volatile data sharing in setting VDS bit. | |
#define | __HAL_FIREWALL_VOLATILEDATA_SHARED_DISABLE() |
Disable volatile data sharing in resetting VDS bit. | |
#define | __HAL_FIREWALL_VOLATILEDATA_EXECUTION_ENABLE() |
Enable volatile data execution in setting VDE bit. | |
#define | __HAL_FIREWALL_VOLATILEDATA_EXECUTION_DISABLE() |
Disable volatile data execution in resetting VDE bit. | |
#define | __HAL_FIREWALL_GET_VOLATILEDATA_SHARED() ((FIREWALL->CR & FW_CR_VDS) == FW_CR_VDS) |
Check whether or not the volatile data segment is shared. | |
#define | __HAL_FIREWALL_GET_VOLATILEDATA_EXECUTION() ((FIREWALL->CR & FW_CR_VDE) == FW_CR_VDE) |
Check whether or not the volatile data segment is declared executable. | |
#define | __HAL_FIREWALL_GET_PREARM() ((FIREWALL->CR & FW_CR_FPA) == FW_CR_FPA) |
Check whether or not the Firewall pre arm bit is set. |
#define __HAL_FIREWALL_GET_PREARM | ( | ) | ((FIREWALL->CR & FW_CR_FPA) == FW_CR_FPA) |
Check whether or not the Firewall pre arm bit is set.
FPA | bit setting status (TRUE or FALSE). |
Definition at line 306 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_GET_VOLATILEDATA_EXECUTION | ( | ) | ((FIREWALL->CR & FW_CR_VDE) == FW_CR_VDE) |
Check whether or not the volatile data segment is declared executable.
VDE | bit setting status (TRUE or FALSE). |
Definition at line 296 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_GET_VOLATILEDATA_SHARED | ( | ) | ((FIREWALL->CR & FW_CR_VDS) == FW_CR_VDS) |
Check whether or not the volatile data segment is shared.
VDS | bit setting status (TRUE or FALSE). |
Definition at line 286 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_IS_ENABLED | ( | ) | HAL_IS_BIT_CLR(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS) |
Check whether the FIREWALL is enabled or not.
FIREWALL | enabling status (TRUE or FALSE). |
Definition at line 151 of file stm32l4xx_hal_firewall.h.
Referenced by HAL_FIREWALL_Config().
#define __HAL_FIREWALL_PREARM_DISABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ CLEAR_BIT(FIREWALL->CR, FW_CR_FPA) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \ UNUSED(tmpreg); \ } while(0)
Disable FIREWALL pre arm.
Definition at line 186 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_PREARM_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(FIREWALL->CR, FW_CR_FPA) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \ UNUSED(tmpreg); \ } while(0)
Enable FIREWALL pre arm.
Definition at line 164 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_VOLATILEDATA_EXECUTION_DISABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ CLEAR_BIT(FIREWALL->CR, FW_CR_VDE) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDE) ; \ UNUSED(tmpreg); \ } while(0)
Disable volatile data execution in resetting VDE bit.
Definition at line 267 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_VOLATILEDATA_EXECUTION_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(FIREWALL->CR, FW_CR_VDE) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDE) ; \ UNUSED(tmpreg); \ } while(0)
Enable volatile data execution in setting VDE bit.
Definition at line 247 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_VOLATILEDATA_SHARED_DISABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ CLEAR_BIT(FIREWALL->CR, FW_CR_VDS) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDS) ; \ UNUSED(tmpreg); \ } while(0)
Disable volatile data sharing in resetting VDS bit.
Definition at line 225 of file stm32l4xx_hal_firewall.h.
#define __HAL_FIREWALL_VOLATILEDATA_SHARED_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(FIREWALL->CR, FW_CR_VDS) ; \ /* Read bit back to ensure it is taken into account by Peripheral */ \ /* (introduce proper delay inside macro execution) */ \ tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDS) ; \ UNUSED(tmpreg); \ } while(0)
Enable volatile data sharing in setting VDS bit.
Definition at line 205 of file stm32l4xx_hal_firewall.h.