STM32F479xx HAL User Manual
|
Functions | |
HAL_StatusTypeDef | FLASH_WaitForLastOperation (uint32_t Timeout) |
Wait for a FLASH operation to complete. | |
void | FLASH_Erase_Sector (uint32_t Sector, uint8_t VoltageRange) |
Erase the specified FLASH memory sector. | |
void | FLASH_FlushCaches (void) |
Flush the instruction and data caches. |
void FLASH_Erase_Sector | ( | uint32_t | Sector, |
uint8_t | VoltageRange | ||
) |
Erase the specified FLASH memory sector.
Sector | FLASH sector to erase The value of this parameter depend on device used within the same series |
VoltageRange | The device voltage range which defines the erase parallelism. This parameter can be one of the following values:
|
None |
Definition at line 586 of file stm32f4xx_hal_flash_ex.c.
References assert_param, FLASH_PSIZE_BYTE, FLASH_PSIZE_DOUBLE_WORD, FLASH_PSIZE_HALF_WORD, FLASH_PSIZE_WORD, FLASH_SECTOR_11, FLASH_VOLTAGE_RANGE_1, FLASH_VOLTAGE_RANGE_2, FLASH_VOLTAGE_RANGE_3, IS_FLASH_SECTOR, and IS_VOLTAGERANGE.
Referenced by HAL_FLASH_IRQHandler(), HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().
void FLASH_FlushCaches | ( | void | ) |
Flush the instruction and data caches.
None |
Definition at line 1311 of file stm32f4xx_hal_flash_ex.c.
References __HAL_FLASH_DATA_CACHE_DISABLE, __HAL_FLASH_DATA_CACHE_ENABLE, __HAL_FLASH_DATA_CACHE_RESET, __HAL_FLASH_INSTRUCTION_CACHE_DISABLE, __HAL_FLASH_INSTRUCTION_CACHE_ENABLE, and __HAL_FLASH_INSTRUCTION_CACHE_RESET.
Referenced by HAL_FLASH_IRQHandler(), and HAL_FLASHEx_Erase().
HAL_StatusTypeDef FLASH_WaitForLastOperation | ( | uint32_t | Timeout | ) |
Wait for a FLASH operation to complete.
Timeout | maximum flash operationtimeout |
HAL | Status |
Definition at line 552 of file stm32f4xx_hal_flash.c.
References __HAL_FLASH_CLEAR_FLAG, __HAL_FLASH_GET_FLAG, FLASH_ProcessTypeDef::ErrorCode, FLASH_FLAG_BSY, FLASH_FLAG_EOP, FLASH_FLAG_OPERR, FLASH_FLAG_PGAERR, FLASH_FLAG_PGPERR, FLASH_FLAG_PGSERR, FLASH_FLAG_RDERR, FLASH_FLAG_WRPERR, FLASH_SetErrorCode(), HAL_FLASH_ERROR_NONE, and HAL_GetTick().
Referenced by FLASH_OB_BootConfig(), FLASH_OB_DisablePCROP(), FLASH_OB_DisableWRP(), FLASH_OB_EnablePCROP(), FLASH_OB_EnableWRP(), FLASH_OB_RDP_LevelConfig(), FLASH_OB_UserConfig(), HAL_FLASH_OB_Launch(), HAL_FLASH_Program(), and HAL_FLASHEx_Erase().