STM32L486xx HAL User Manual
Functions
Peripheral Control functions
FLASH Exported Functions

Management functions. More...

Functions

HAL_StatusTypeDef HAL_FLASH_Unlock (void)
 Unlock the FLASH control register access.
HAL_StatusTypeDef HAL_FLASH_Lock (void)
 Lock the FLASH control register access.
HAL_StatusTypeDef HAL_FLASH_OB_Unlock (void)
 Unlock the FLASH Option Bytes Registers access.
HAL_StatusTypeDef HAL_FLASH_OB_Lock (void)
 Lock the FLASH Option Bytes Registers access.
HAL_StatusTypeDef HAL_FLASH_OB_Launch (void)
 Launch the option byte loading.

Detailed Description

Management functions.

 ===============================================================================
                      ##### Peripheral Control functions #####
 ===============================================================================  
    [..]
    This subsection provides a set of functions allowing to control the FLASH 
    memory operations.


Function Documentation

HAL_StatusTypeDef HAL_FLASH_Lock ( void  )

Lock the FLASH control register access.

Return values:
HALStatus

Definition at line 544 of file stm32l4xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_OB_Launch ( void  )

Launch the option byte loading.

Return values:
HALStatus

Definition at line 588 of file stm32l4xx_hal_flash.c.

References FLASH_TIMEOUT_VALUE, and FLASH_WaitForLastOperation().

HAL_StatusTypeDef HAL_FLASH_OB_Lock ( void  )

Lock the FLASH Option Bytes Registers access.

Return values:
HALStatus

Definition at line 576 of file stm32l4xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_OB_Unlock ( void  )

Unlock the FLASH Option Bytes Registers access.

Return values:
HALStatus

Definition at line 556 of file stm32l4xx_hal_flash.c.

References FLASH_OPTKEY1, and FLASH_OPTKEY2.

HAL_StatusTypeDef HAL_FLASH_Unlock ( void  )

Unlock the FLASH control register access.

Return values:
HALStatus

Definition at line 520 of file stm32l4xx_hal_flash.c.

References FLASH_KEY1, and FLASH_KEY2.