STM32F4xx_HAL_Driver  1.8.3
Peripheral State and Errors functions

Peripheral Errors functions. More...

+ Collaboration diagram for Peripheral State and Errors functions:

Functions

uint32_t HAL_FLASH_GetError (void)
 Get the specific FLASH error flag. More...
 

Detailed Description

Peripheral Errors functions.

 ===============================================================================
                ##### Peripheral Errors functions #####
 ===============================================================================
    [..]
    This subsection permits to get in run-time Errors of the FLASH peripheral.

Function Documentation

◆ HAL_FLASH_GetError()

uint32_t HAL_FLASH_GetError ( void  )

Get the specific FLASH error flag.

Return values
FLASH_ErrorCodeThe returned value can be a combination of:
  • HAL_FLASH_ERROR_RD: FLASH Read Protection error flag (PCROP)
  • HAL_FLASH_ERROR_PGS: FLASH Programming Sequence error flag
  • HAL_FLASH_ERROR_PGP: FLASH Programming Parallelism error flag
  • HAL_FLASH_ERROR_PGA: FLASH Programming Alignment error flag
  • HAL_FLASH_ERROR_WRP: FLASH Write protected error flag
  • HAL_FLASH_ERROR_OPERATION: FLASH operation Error flag

Definition at line 530 of file stm32f4xx_hal_flash.c.