STM32L486xx HAL User Manual
|
Functions | |
HAL_StatusTypeDef | FLASH_WaitForLastOperation (uint32_t Timeout) |
Wait for a FLASH operation to complete. | |
void | FLASH_PageErase (uint32_t Page, uint32_t Banks) |
Erase the specified FLASH memory page. | |
void | FLASH_FlushCaches (void) |
Flush the instruction and data caches. | |
static void | FLASH_Program_DoubleWord (uint32_t Address, uint64_t Data) |
Program double-word (64-bit) at a specified address. | |
static void | FLASH_Program_Fast (uint32_t Address, uint32_t DataAddress) |
Fast program a row double-word (64-bit) at a specified address. |
void FLASH_FlushCaches | ( | void | ) |
Flush the instruction and data caches.
None |
Definition at line 624 of file stm32l4xx_hal_flash_ex.c.
References __HAL_FLASH_DATA_CACHE_ENABLE, __HAL_FLASH_DATA_CACHE_RESET, __HAL_FLASH_INSTRUCTION_CACHE_ENABLE, __HAL_FLASH_INSTRUCTION_CACHE_RESET, FLASH_ProcessTypeDef::CacheToReactivate, FLASH_CACHE_DCACHE_ENABLED, FLASH_CACHE_DISABLED, FLASH_CACHE_ICACHE_DCACHE_ENABLED, and FLASH_CACHE_ICACHE_ENABLED.
Referenced by HAL_FLASH_IRQHandler(), HAL_FLASH_Program(), and HAL_FLASHEx_Erase().
void FLASH_PageErase | ( | uint32_t | Page, |
uint32_t | Banks | ||
) |
Erase the specified FLASH memory page.
Page,: | FLASH page to erase This parameter must be a value between 0 and (max number of pages in the bank - 1) |
Banks,: | Bank(s) where the page will be erased This parameter can be one of the following values:
|
None |
Definition at line 582 of file stm32l4xx_hal_flash_ex.c.
References assert_param, FLASH_BANK_1, IS_FLASH_BANK_EXCLUSIVE, and IS_FLASH_PAGE.
Referenced by HAL_FLASH_IRQHandler(), HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().
static void FLASH_Program_DoubleWord | ( | uint32_t | Address, |
uint64_t | Data | ||
) | [static] |
Program double-word (64-bit) at a specified address.
Address,: | specifies the address to be programmed. |
Data,: | specifies the data to be programmed. |
None |
Definition at line 713 of file stm32l4xx_hal_flash.c.
References assert_param, and IS_FLASH_PROGRAM_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
static void FLASH_Program_Fast | ( | uint32_t | Address, |
uint32_t | DataAddress | ||
) | [static] |
Fast program a row double-word (64-bit) at a specified address.
Address,: | specifies the address to be programmed. |
DataAddress,: | specifies the address where the data are stored. |
None |
Definition at line 732 of file stm32l4xx_hal_flash.c.
References assert_param, FLASH_NB_DOUBLE_WORDS_IN_ROW, and IS_FLASH_MAIN_MEM_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
HAL_StatusTypeDef FLASH_WaitForLastOperation | ( | uint32_t | Timeout | ) |
Wait for a FLASH operation to complete.
Timeout,: | maximum flash operation timeout |
HAL_StatusTypeDef | HAL Status |
Definition at line 662 of file stm32l4xx_hal_flash.c.
References __HAL_FLASH_CLEAR_FLAG, __HAL_FLASH_GET_FLAG, FLASH_ProcessTypeDef::ErrorCode, FLASH_FLAG_BSY, FLASH_FLAG_ECCD, FLASH_FLAG_EOP, FLASH_FLAG_SR_ERRORS, and HAL_GetTick().
Referenced by FLASH_OB_PCROPConfig(), FLASH_OB_RDPConfig(), FLASH_OB_UserConfig(), FLASH_OB_WRPConfig(), HAL_FLASH_OB_Launch(), HAL_FLASH_Program(), and HAL_FLASHEx_Erase().