FLASH_ErrorCode: The returned value can be a
combination of:
HAL_FLASH_ERROR_NONE: FLASH Programming
Sequence error flag
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
FLASH_WaitForLastOperation
HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t
Timeout)
Wait for a FLASH operation to complete.
Timeout: maximum flash operationtimeout
18.3 FLASH Firmware driver defines
18.3.1 FLASH
FLASH Error Code
Programming Sequence error
Programming Parallelism error
Programming Alignment error
HAL_FLASH_ERROR_OPERATION
FLASH Exported Macros
Description:
Set the FLASH Latency.
Parameters:
__LATENCY__: FLASH Latency
The value of this parameter
depend on device used within the
same series
Return value:
none