STM32F103xB 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)
 Locks the FLASH control register 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.
void 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  )

Locks the FLASH control register access.

Return values:
HALStatus

Definition at line 695 of file stm32f1xx_hal_flash.c.

void HAL_FLASH_OB_Launch ( void  )

Launch the option byte loading.

Note:
This function will reset automatically the MCU.
Return values:
None

Definition at line 745 of file stm32f1xx_hal_flash.c.

References HAL_NVIC_SystemReset().

HAL_StatusTypeDef HAL_FLASH_OB_Lock ( void  )

Lock the FLASH Option Control Registers access.

Return values:
HALStatus

Definition at line 732 of file stm32f1xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_OB_Unlock ( void  )

Unlock the FLASH Option Control Registers access.

Return values:
HALStatus

Definition at line 712 of file stm32f1xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_Unlock ( void  )

Unlock the FLASH control register access.

Return values:
HALStatus

Definition at line 657 of file stm32f1xx_hal_flash.c.