STM32H735xx HAL User Manual
Functions
Peripheral Control functions
FLASH Exported functions

Management functions. More...

Functions

HAL_StatusTypeDef HAL_FLASH_Unlock (void)
 Unlock the FLASH control registers access.
HAL_StatusTypeDef HAL_FLASH_Lock (void)
 Locks the FLASH control registers access.
HAL_StatusTypeDef HAL_FLASH_OB_Unlock (void)
 Unlock the FLASH Option Control Registers access.
HAL_StatusTypeDef HAL_FLASH_OB_Lock (void)
 Lock the FLASH Option Control Registers access.
HAL_StatusTypeDef HAL_FLASH_OB_Launch (void)
 Launch the option bytes 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  )

Locks the FLASH control registers access.

Return values:
HALStatus

Definition at line 823 of file stm32h7xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_OB_Launch ( void  )

Launch the option bytes loading.

Return values:
HALStatus

Definition at line 892 of file stm32h7xx_hal_flash.c.

References FLASH_BANK_1, FLASH_CRC_WaitForLastOperation(), FLASH_OB_WaitForLastOperation(), and FLASH_TIMEOUT_VALUE.

HAL_StatusTypeDef HAL_FLASH_OB_Lock ( void  )

Lock the FLASH Option Control Registers access.

Return values:
HALStatus

Definition at line 874 of file stm32h7xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_OB_Unlock ( void  )

Unlock the FLASH Option Control Registers access.

Return values:
HALStatus

Definition at line 852 of file stm32h7xx_hal_flash.c.

References FLASH_OPT_KEY1, and FLASH_OPT_KEY2.

HAL_StatusTypeDef HAL_FLASH_Unlock ( void  )

Unlock the FLASH control registers access.

Return values:
HALStatus

Definition at line 786 of file stm32h7xx_hal_flash.c.

References FLASH_KEY1, and FLASH_KEY2.