Hal_Flash_Operationerrorcallback; Hal_Flash_Unlock; Hal_Flash_Lock; Hal_Flash_Ob_Unlock - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL FLASH Generic Driver

HAL_FLASH_OperationErrorCallback

Function name
Function description
Parameters
Return values

HAL_FLASH_Unlock

Function name
Function description
Return values

HAL_FLASH_Lock

Function name
Function description
Return values

HAL_FLASH_OB_Unlock

Function name
Function description
Return values
HAL_FLASH_OB_Lock
Function name
Function description
Return values
HAL_FLASH_OB_Launch
Function name
Function description
Return values
HAL_FLASH_GetError
Function name
Function description
246/1371
void HAL_FLASH_OperationErrorCallback (uint32_t
ReturnValue)
FLASH operation error interrupt callback.
ReturnValue: The value saved in this parameter depends on
the ongoing procedure Mass Erase: Bank number which has
been requested to erase Sectors Erase: Sector number which
returned an error Program: Address which was selected for
data program
None:
HAL_StatusTypeDef HAL_FLASH_Unlock (void )
Unlock the FLASH control register access.
HAL: Status
HAL_StatusTypeDef HAL_FLASH_Lock (void )
Locks the FLASH control register access.
HAL: Status
HAL_StatusTypeDef HAL_FLASH_OB_Unlock (void )
Unlock the FLASH Option Control Registers access.
HAL: Status
HAL_StatusTypeDef HAL_FLASH_OB_Lock (void )
Lock the FLASH Option Control Registers access.
HAL: Status
HAL_StatusTypeDef HAL_FLASH_OB_Launch (void )
Launch the option byte loading.
HAL: Status
uint32_t HAL_FLASH_GetError (void )
Get the specific FLASH error flag.
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF