Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Peripheral State and Errors functions
[FLASH Exported Functions]
Peripheral Errors functions. More...
Functions | |
uint32_t | HAL_FLASH_GetError (void) |
Get the specific FLASH error flag. |
Detailed Description
Peripheral Errors functions.
=============================================================================== ##### Peripheral Errors functions ##### =============================================================================== [..] This subsection permits to get in run-time Errors of the FLASH peripheral.
Function Documentation
uint32_t HAL_FLASH_GetError | ( | void | ) |
Get the specific FLASH error flag.
- Return values:
-
FLASH_ErrorCode,: The returned value can be: - 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
- HAL_FLASH_ERROR_NONE: No error set
- HAL_FLASH_ERROR_OP: FLASH Operation error
- HAL_FLASH_ERROR_PROG: FLASH Programming error
- HAL_FLASH_ERROR_WRP: FLASH Write protection error
- HAL_FLASH_ERROR_PGA: FLASH Programming alignment error
- HAL_FLASH_ERROR_SIZ: FLASH Size error
- HAL_FLASH_ERROR_PGS: FLASH Programming sequence error
- HAL_FLASH_ERROR_MIS: FLASH Fast programming data miss error
- HAL_FLASH_ERROR_FAST: FLASH Fast programming error
- HAL_FLASH_ERROR_RD: FLASH PCROP read error
- HAL_FLASH_ERROR_OPTV: FLASH Option validity error
- FLASH_FLAG_PEMPTY : FLASH Boot from not programmed flash (apply only for STM32L43x/STM32L44x devices)
- HAL_FLASH_ERROR_ECCD: FLASH two ECC errors have been detected
Definition at line 584 of file stm32l4xx_hal_flash.c.
Generated on Tue Jul 12 2022 17:38:53 by
