Peripheral Errors functions.
More...
Detailed Description
Peripheral Errors functions.
===============================================================================
##### Peripheral Errors functions #####
===============================================================================
[..]
This subsection permits to get in run-time Errors of the FLASH peripheral.
Function Documentation
Get the specific FLASH error flag.
- Return values:
-
HAL_FLASH_ERRORCode | The returned value can be:
- HAL_FLASH_ERROR_NONE : No error set
- HAL_FLASH_ERROR_WRP_BANK1 : Write Protection Error on Bank 1
- HAL_FLASH_ERROR_PGS_BANK1 : Program Sequence Error on Bank 1
- HAL_FLASH_ERROR_STRB_BANK1 : Strobe Error on Bank 1
- HAL_FLASH_ERROR_INC_BANK1 : Inconsistency Error on Bank 1
- HAL_FLASH_ERROR_OPE_BANK1 : Operation Error on Bank 1
- HAL_FLASH_ERROR_RDP_BANK1 : Read Protection Error on Bank 1
- HAL_FLASH_ERROR_RDS_BANK1 : Read Secured Error on Bank 1
- HAL_FLASH_ERROR_SNECC_BANK1: ECC Single Correction Error on Bank 1
- HAL_FLASH_ERROR_DBECC_BANK1: ECC Double Detection Error on Bank 1
- HAL_FLASH_ERROR_CRCRD_BANK1: CRC Read Error on Bank 1
- HAL_FLASH_ERROR_WRP_BANK2 : Write Protection Error on Bank 2
- HAL_FLASH_ERROR_PGS_BANK2 : Program Sequence Error on Bank 2
- HAL_FLASH_ERROR_STRB_BANK2 : Strobe Error on Bank 2
- HAL_FLASH_ERROR_INC_BANK2 : Inconsistency Error on Bank 2
- HAL_FLASH_ERROR_OPE_BANK2 : Operation Error on Bank 2
- HAL_FLASH_ERROR_RDP_BANK2 : Read Protection Error on Bank 2
- HAL_FLASH_ERROR_RDS_BANK2 : Read Secured Error on Bank 2
- HAL_FLASH_ERROR_SNECC_BANK2: SNECC Error on Bank 2
- HAL_FLASH_ERROR_DBECC_BANK2: Double Detection ECC on Bank 2
- HAL_FLASH_ERROR_CRCRD_BANK2: CRC Read Error on Bank 2
|
Definition at line 970 of file stm32h7xx_hal_flash.c.
References FLASH_ProcessTypeDef::ErrorCode.