21 #ifndef __STM32L4xx_HAL_FLASH_EX_H 22 #define __STM32L4xx_HAL_FLASH_EX_H 42 #if defined (FLASH_CFGR_LVEN) 49 #define FLASH_LVE_PIN_CTRL 0x00000000U 50 #define FLASH_LVE_PIN_FORCED FLASH_CFGR_LVEN 71 HAL_StatusTypeDef
HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError);
79 #if defined (FLASH_CFGR_LVEN) 107 #if defined (FLASH_CFGR_LVEN) 108 #define IS_FLASH_LVE_PIN(CFG) (((CFG) == FLASH_LVE_PIN_CTRL) || ((CFG) == FLASH_LVE_PIN_FORCED)) HAL_StatusTypeDef HAL_FLASHEx_ConfigLVEPin(uint32_t ConfigLVE)
Configuration of the LVE pin of the Flash (managed by power controller or forced to low in order to u...
void FLASH_PageErase(uint32_t Page, uint32_t Banks)
Erase the specified FLASH memory page.
This file contains HAL common defines, enumeration, macros and structures definitions.
void FLASH_FlushCaches(void)
Flush the instruction and data caches.
void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit)
Get the Option bytes configuration.
HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError)
Perform a mass erase or erase the specified FLASH memory pages.
FLASH Option Bytes Program structure definition.
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit)
Perform a mass erase or erase the specified FLASH memory pages with interrupt enabled.
HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit)
Program Option bytes.