STM32H735xx HAL User Manual
|
Defines | |
#define | IS_FLASH_TYPEERASE(VALUE) |
#define | IS_VOLTAGERANGE(RANGE) |
#define | IS_WRPSTATE(VALUE) |
#define | IS_OPTIONBYTE(VALUE) |
#define | IS_OB_BOOT_ADDRESS(ADDRESS) ((ADDRESS) <= 0x8013U) |
#define | IS_OB_RDP_LEVEL(LEVEL) |
#define | IS_OB_IWDG_SOURCE(SOURCE) (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
#define | IS_OB_STOP_SOURCE(SOURCE) (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
#define | IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
#define | IS_OB_IWDG_STOP_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STOP_FREEZE) || ((FREEZE) == OB_IWDG_STOP_ACTIVE)) |
#define | IS_OB_IWDG_STDBY_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STDBY_FREEZE) || ((FREEZE) == OB_IWDG_STDBY_ACTIVE)) |
#define | IS_OB_BOR_LEVEL(LEVEL) |
#define | IS_FLASH_LATENCY(LATENCY) |
#define | IS_FLASH_SECTOR(SECTOR) ((SECTOR) < FLASH_SECTOR_TOTAL) |
#define | IS_OB_WRP_SECTOR(SECTOR) ((((SECTOR) & 0xFFFFFF00U) == 0x00000000U) && ((SECTOR) != 0x00000000U)) |
#define | IS_OB_PCROP_RDP(CONFIG) |
#define | IS_OB_SECURE_RDP(CONFIG) |
#define | IS_OB_USER_IOHSLV(VALUE) (((VALUE) == OB_IOHSLV_DISABLE) || ((VALUE) == OB_IOHSLV_ENABLE)) |
#define | IS_OB_IWDG1_SOURCE(SOURCE) (((SOURCE) == OB_IWDG1_SW) || ((SOURCE) == OB_IWDG1_HW)) |
#define | IS_OB_STOP_D1_RESET(VALUE) (((VALUE) == OB_STOP_NO_RST_D1) || ((VALUE) == OB_STOP_RST_D1)) |
#define | IS_OB_STDBY_D1_RESET(VALUE) (((VALUE) == OB_STDBY_NO_RST_D1) || ((VALUE) == OB_STDBY_RST_D1)) |
#define | IS_OB_USER_IWDG_STOP(VALUE) (((VALUE) == OB_IWDG_STOP_FREEZE) || ((VALUE) == OB_IWDG_STOP_ACTIVE)) |
#define | IS_OB_USER_IWDG_STDBY(VALUE) (((VALUE) == OB_IWDG_STDBY_FREEZE) || ((VALUE) == OB_IWDG_STDBY_ACTIVE)) |
#define | IS_OB_USER_ST_RAM_SIZE(VALUE) |
#define | IS_OB_USER_SECURITY(VALUE) (((VALUE) == OB_SECURITY_ENABLE) || ((VALUE) == OB_SECURITY_DISABLE)) |
#define | IS_OB_STOP_D2_RESET(VALUE) (((VALUE) == OB_STOP_NO_RST_D2) || ((VALUE) == OB_STOP_RST_D2)) |
#define | IS_OB_STDBY_D2_RESET(VALUE) (((VALUE) == OB_STDBY_NO_RST_D2) || ((VALUE) == OB_STDBY_RST_D2)) |
#define | IS_OB_USER_TCM_AXI_SHARED(VALUE) |
#define | IS_OB_USER_CPUFREQ_BOOST(VALUE) (((VALUE) == OB_CPUFREQ_BOOST_DISABLE) || ((VALUE) == OB_CPUFREQ_BOOST_ENABLE)) |
#define | IS_OB_USER_TYPE(TYPE) |
#define | IS_OB_BOOT_ADD_OPTION(VALUE) |
#define | IS_FLASH_TYPECRC(VALUE) |
#define IS_FLASH_LATENCY | ( | LATENCY | ) |
(((LATENCY) == FLASH_LATENCY_0) || \ ((LATENCY) == FLASH_LATENCY_1) || \ ((LATENCY) == FLASH_LATENCY_2) || \ ((LATENCY) == FLASH_LATENCY_3) || \ ((LATENCY) == FLASH_LATENCY_4) || \ ((LATENCY) == FLASH_LATENCY_5) || \ ((LATENCY) == FLASH_LATENCY_6) || \ ((LATENCY) == FLASH_LATENCY_7) || \ ((LATENCY) == FLASH_LATENCY_8) || \ ((LATENCY) == FLASH_LATENCY_9) || \ ((LATENCY) == FLASH_LATENCY_10) || \ ((LATENCY) == FLASH_LATENCY_11) || \ ((LATENCY) == FLASH_LATENCY_12) || \ ((LATENCY) == FLASH_LATENCY_13) || \ ((LATENCY) == FLASH_LATENCY_14) || \ ((LATENCY) == FLASH_LATENCY_15))
Definition at line 887 of file stm32h7xx_hal_flash_ex.h.
Referenced by HAL_RCC_ClockConfig().
#define IS_FLASH_SECTOR | ( | SECTOR | ) | ((SECTOR) < FLASH_SECTOR_TOTAL) |
Definition at line 904 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_CRC_AddSector(), and FLASH_Erase_Sector().
#define IS_FLASH_TYPECRC | ( | VALUE | ) |
(((VALUE) == FLASH_CRC_ADDR) || \ ((VALUE) == FLASH_CRC_SECTORS) || \ ((VALUE) == FLASH_CRC_BANK))
Definition at line 973 of file stm32h7xx_hal_flash_ex.h.
Referenced by HAL_FLASHEx_ComputeCRC().
#define IS_FLASH_TYPEERASE | ( | VALUE | ) |
(((VALUE) == FLASH_TYPEERASE_SECTORS) || \ ((VALUE) == FLASH_TYPEERASE_MASSERASE))
Definition at line 852 of file stm32h7xx_hal_flash_ex.h.
Referenced by HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().
#define IS_OB_BOOT_ADD_OPTION | ( | VALUE | ) |
(((VALUE) == OB_BOOT_ADD0) || \ ((VALUE) == OB_BOOT_ADD1) || \ ((VALUE) == OB_BOOT_ADD_BOTH))
Definition at line 969 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_BootAddConfig().
#define IS_OB_BOOT_ADDRESS | ( | ADDRESS | ) | ((ADDRESS) <= 0x8013U) |
Definition at line 868 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_BOR_LEVEL | ( | LEVEL | ) |
(((LEVEL) == OB_BOR_LEVEL0) || ((LEVEL) == OB_BOR_LEVEL1) || \ ((LEVEL) == OB_BOR_LEVEL2) || ((LEVEL) == OB_BOR_LEVEL3))
Definition at line 884 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_BOR_LevelConfig().
#define IS_OB_IWDG1_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_IWDG1_SW) || ((SOURCE) == OB_IWDG1_HW)) |
Definition at line 928 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_IWDG_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
Definition at line 874 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_IWDG_STDBY_FREEZE | ( | FREEZE | ) | (((FREEZE) == OB_IWDG_STDBY_FREEZE) || ((FREEZE) == OB_IWDG_STDBY_ACTIVE)) |
Definition at line 882 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_IWDG_STOP_FREEZE | ( | FREEZE | ) | (((FREEZE) == OB_IWDG_STOP_FREEZE) || ((FREEZE) == OB_IWDG_STOP_ACTIVE)) |
Definition at line 880 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_PCROP_RDP | ( | CONFIG | ) |
(((CONFIG) == OB_PCROP_RDP_NOT_ERASE) || \ ((CONFIG) == OB_PCROP_RDP_ERASE))
Definition at line 912 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_PCROPConfig().
#define IS_OB_RDP_LEVEL | ( | LEVEL | ) |
(((LEVEL) == OB_RDP_LEVEL_0) ||\ ((LEVEL) == OB_RDP_LEVEL_1) ||\ ((LEVEL) == OB_RDP_LEVEL_2))
Definition at line 870 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_RDPConfig().
#define IS_OB_SECURE_RDP | ( | CONFIG | ) |
(((CONFIG) == OB_SECURE_RDP_NOT_ERASE) || \ ((CONFIG) == OB_SECURE_RDP_ERASE))
Definition at line 915 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_SecureAreaConfig().
#define IS_OB_STDBY_D1_RESET | ( | VALUE | ) | (((VALUE) == OB_STDBY_NO_RST_D1) || ((VALUE) == OB_STDBY_RST_D1)) |
Definition at line 934 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_STDBY_D2_RESET | ( | VALUE | ) | (((VALUE) == OB_STDBY_NO_RST_D2) || ((VALUE) == OB_STDBY_RST_D2)) |
Definition at line 954 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_STDBY_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
Definition at line 878 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_STOP_D1_RESET | ( | VALUE | ) | (((VALUE) == OB_STOP_NO_RST_D1) || ((VALUE) == OB_STOP_RST_D1)) |
Definition at line 932 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_STOP_D2_RESET | ( | VALUE | ) | (((VALUE) == OB_STOP_NO_RST_D2) || ((VALUE) == OB_STOP_RST_D2)) |
Definition at line 952 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_STOP_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
Definition at line 876 of file stm32h7xx_hal_flash_ex.h.
#define IS_OB_USER_CPUFREQ_BOOST | ( | VALUE | ) | (((VALUE) == OB_CPUFREQ_BOOST_DISABLE) || ((VALUE) == OB_CPUFREQ_BOOST_ENABLE)) |
Definition at line 963 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_CPUFreq_BoostConfig().
#define IS_OB_USER_IOHSLV | ( | VALUE | ) | (((VALUE) == OB_IOHSLV_DISABLE) || ((VALUE) == OB_IOHSLV_ENABLE)) |
Definition at line 922 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_USER_IWDG_STDBY | ( | VALUE | ) | (((VALUE) == OB_IWDG_STDBY_FREEZE) || ((VALUE) == OB_IWDG_STDBY_ACTIVE)) |
Definition at line 938 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_USER_IWDG_STOP | ( | VALUE | ) | (((VALUE) == OB_IWDG_STOP_FREEZE) || ((VALUE) == OB_IWDG_STOP_ACTIVE)) |
Definition at line 936 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_USER_SECURITY | ( | VALUE | ) | (((VALUE) == OB_SECURITY_ENABLE) || ((VALUE) == OB_SECURITY_DISABLE)) |
Definition at line 943 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_USER_ST_RAM_SIZE | ( | VALUE | ) |
(((VALUE) == OB_ST_RAM_SIZE_2KB) || ((VALUE) == OB_ST_RAM_SIZE_4KB) || \ ((VALUE) == OB_ST_RAM_SIZE_8KB) || ((VALUE) == OB_ST_RAM_SIZE_16KB))
Definition at line 940 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_USER_TCM_AXI_SHARED | ( | VALUE | ) |
(((VALUE) == OB_TCM_AXI_SHARED_ITCM64KB) || ((VALUE) == OB_TCM_AXI_SHARED_ITCM128KB) || \ ((VALUE) == OB_TCM_AXI_SHARED_ITCM192KB) || ((VALUE) == OB_TCM_AXI_SHARED_ITCM256KB))
Definition at line 958 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_SharedRAM_Config().
#define IS_OB_USER_TYPE | ( | TYPE | ) |
((((TYPE) & OB_USER_ALL) != 0U) && \ (((TYPE) & ~OB_USER_ALL) == 0U))
Definition at line 966 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_UserConfig().
#define IS_OB_WRP_SECTOR | ( | SECTOR | ) | ((((SECTOR) & 0xFFFFFF00U) == 0x00000000U) && ((SECTOR) != 0x00000000U)) |
Definition at line 907 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_OB_DisableWRP(), and FLASH_OB_EnableWRP().
#define IS_OPTIONBYTE | ( | VALUE | ) |
((((VALUE) & OPTIONBYTE_ALL) != 0U) && \ (((VALUE) & ~OPTIONBYTE_ALL) == 0U))
Definition at line 865 of file stm32h7xx_hal_flash_ex.h.
Referenced by HAL_FLASHEx_OBProgram().
#define IS_VOLTAGERANGE | ( | RANGE | ) |
(((RANGE) == FLASH_VOLTAGE_RANGE_1) || \ ((RANGE) == FLASH_VOLTAGE_RANGE_2) || \ ((RANGE) == FLASH_VOLTAGE_RANGE_3) || \ ((RANGE) == FLASH_VOLTAGE_RANGE_4))
Definition at line 856 of file stm32h7xx_hal_flash_ex.h.
Referenced by FLASH_Erase_Sector(), and FLASH_MassErase().
#define IS_WRPSTATE | ( | VALUE | ) |
(((VALUE) == OB_WRPSTATE_DISABLE) || \ ((VALUE) == OB_WRPSTATE_ENABLE))
Definition at line 862 of file stm32h7xx_hal_flash_ex.h.
Referenced by HAL_FLASHEx_OBProgram().