Header file of FLASH HAL Extension module. More...
#include "stm32f7xx_hal_def.h"
Go to the source code of this file.
Classes | |
struct | FLASH_EraseInitTypeDef |
FLASH Erase structure definition. More... | |
struct | FLASH_OBProgramInitTypeDef |
FLASH Option Bytes Program structure definition. More... | |
Macros | |
#define | __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__) ((__ADDRESS__) >> 14) |
Calculate the FLASH Boot Base Adress (BOOT_ADD0 or BOOT_ADD1) More... | |
#define | FLASH_LATENCY_0 FLASH_ACR_LATENCY_0WS |
#define | FLASH_LATENCY_1 FLASH_ACR_LATENCY_1WS |
#define | FLASH_LATENCY_10 FLASH_ACR_LATENCY_10WS |
#define | FLASH_LATENCY_11 FLASH_ACR_LATENCY_11WS |
#define | FLASH_LATENCY_12 FLASH_ACR_LATENCY_12WS |
#define | FLASH_LATENCY_13 FLASH_ACR_LATENCY_13WS |
#define | FLASH_LATENCY_14 FLASH_ACR_LATENCY_14WS |
#define | FLASH_LATENCY_15 FLASH_ACR_LATENCY_15WS |
#define | FLASH_LATENCY_2 FLASH_ACR_LATENCY_2WS |
#define | FLASH_LATENCY_3 FLASH_ACR_LATENCY_3WS |
#define | FLASH_LATENCY_4 FLASH_ACR_LATENCY_4WS |
#define | FLASH_LATENCY_5 FLASH_ACR_LATENCY_5WS |
#define | FLASH_LATENCY_6 FLASH_ACR_LATENCY_6WS |
#define | FLASH_LATENCY_7 FLASH_ACR_LATENCY_7WS |
#define | FLASH_LATENCY_8 FLASH_ACR_LATENCY_8WS |
#define | FLASH_LATENCY_9 FLASH_ACR_LATENCY_9WS |
#define | FLASH_MER_BIT (FLASH_CR_MER) |
#define | FLASH_TYPEERASE_MASSERASE ((uint32_t)0x01U) |
#define | FLASH_TYPEERASE_SECTORS ((uint32_t)0x00U) |
#define | FLASH_VOLTAGE_RANGE_1 ((uint32_t)0x00U) |
#define | FLASH_VOLTAGE_RANGE_2 ((uint32_t)0x01U) |
#define | FLASH_VOLTAGE_RANGE_3 ((uint32_t)0x02U) |
#define | FLASH_VOLTAGE_RANGE_4 ((uint32_t)0x03U) |
#define | IS_FLASH_ADDRESS(ADDRESS) |
#define | IS_FLASH_LATENCY(LATENCY) |
#define | IS_FLASH_NBSECTORS(NBSECTORS) (((NBSECTORS) != 0U) && ((NBSECTORS) <= FLASH_SECTOR_TOTAL)) |
#define | IS_FLASH_TYPEERASE(VALUE) |
#define | IS_OB_BOOT_ADDRESS(ADDRESS) ((ADDRESS) <= 0x8013) |
#define | IS_OB_BOR_LEVEL(LEVEL) |
#define | IS_OB_IWDG_SOURCE(SOURCE) (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
#define | IS_OB_IWDG_STDBY_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STDBY_FREEZE) || ((FREEZE) == OB_IWDG_STDBY_ACTIVE)) |
#define | IS_OB_IWDG_STOP_FREEZE(FREEZE) (((FREEZE) == OB_IWDG_STOP_FREEZE) || ((FREEZE) == OB_IWDG_STOP_ACTIVE)) |
#define | IS_OB_RDP_LEVEL(LEVEL) |
#define | IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
#define | IS_OB_STOP_SOURCE(SOURCE) (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
#define | IS_OB_WWDG_SOURCE(SOURCE) (((SOURCE) == OB_WWDG_SW) || ((SOURCE) == OB_WWDG_HW)) |
#define | IS_OPTIONBYTE(VALUE) |
#define | IS_VOLTAGERANGE(RANGE) |
#define | IS_WRPSTATE(VALUE) |
#define | OB_BOOTADDR_AXIM_FLASH ((uint32_t)0x2000U) |
#define | OB_BOOTADDR_DTCM_RAM ((uint32_t)0x8000U) |
#define | OB_BOOTADDR_ITCM_FLASH ((uint32_t)0x0080U) |
#define | OB_BOOTADDR_ITCM_RAM ((uint32_t)0x0000U) |
#define | OB_BOOTADDR_SRAM1 ((uint32_t)0x8004U) |
#define | OB_BOOTADDR_SRAM2 ((uint32_t)0x8013U) |
#define | OB_BOOTADDR_SYSTEM ((uint32_t)0x0040U) |
#define | OB_BOR_LEVEL1 ((uint32_t)0x08U) |
#define | OB_BOR_LEVEL2 ((uint32_t)0x04U) |
#define | OB_BOR_LEVEL3 ((uint32_t)0x00U) |
#define | OB_BOR_OFF ((uint32_t)0x0CU) |
#define | OB_IWDG_HW ((uint32_t)0x00U) |
#define | OB_IWDG_STDBY_ACTIVE ((uint32_t)0x40000000U) |
#define | OB_IWDG_STDBY_FREEZE ((uint32_t)0x00000000U) |
#define | OB_IWDG_STOP_ACTIVE ((uint32_t)0x80000000U) |
#define | OB_IWDG_STOP_FREEZE ((uint32_t)0x00000000U) |
#define | OB_IWDG_SW ((uint32_t)0x20U) |
#define | OB_RDP_LEVEL_0 ((uint8_t)0xAAU) |
#define | OB_RDP_LEVEL_1 ((uint8_t)0x55U) |
#define | OB_RDP_LEVEL_2 ((uint8_t)0xCCU) |
#define | OB_STDBY_NO_RST ((uint32_t)0x80U) |
#define | OB_STDBY_RST ((uint32_t)0x00U) |
#define | OB_STOP_NO_RST ((uint32_t)0x40U) |
#define | OB_STOP_RST ((uint32_t)0x00U) |
#define | OB_WRPSTATE_DISABLE ((uint32_t)0x00U) |
#define | OB_WRPSTATE_ENABLE ((uint32_t)0x01U) |
#define | OB_WWDG_HW ((uint32_t)0x00U) |
#define | OB_WWDG_SW ((uint32_t)0x10U) |
#define | OPTIONBYTE_BOOTADDR_0 ((uint32_t)0x10U) |
#define | OPTIONBYTE_BOOTADDR_1 ((uint32_t)0x20U) |
#define | OPTIONBYTE_BOR ((uint32_t)0x08U) |
#define | OPTIONBYTE_RDP ((uint32_t)0x02U) |
#define | OPTIONBYTE_USER ((uint32_t)0x04U) |
#define | OPTIONBYTE_WRP ((uint32_t)0x01U) |
Functions | |
void | FLASH_Erase_Sector (uint32_t Sector, uint8_t VoltageRange) |
HAL_StatusTypeDef | HAL_FLASHEx_Erase (FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError) |
HAL_StatusTypeDef | HAL_FLASHEx_Erase_IT (FLASH_EraseInitTypeDef *pEraseInit) |
void | HAL_FLASHEx_OBGetConfig (FLASH_OBProgramInitTypeDef *pOBInit) |
HAL_StatusTypeDef | HAL_FLASHEx_OBProgram (FLASH_OBProgramInitTypeDef *pOBInit) |
Header file of FLASH HAL Extension module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f7xx_hal_flash_ex.h.