HAL FLASH Constants

FLASH Error Code

group FLASH_Error_Code

Defines

HAL_FLASH_ERROR_NONE (0x00UL << 0U)

No error during program or erase operation

HAL_FLASH_ERROR_PROG (0x01UL << 1U)

Programming error during program operation

HAL_FLASH_ERROR_PGA (0x01UL << 5U)

Alignment error during program operation

HAL_FLASH_ERROR_SIZE (0x01UL << 7U)

Size error during program operation

HAL_FLASH_NS_ERROR_PROG (0x01UL << 2U)

Programming error during non-secure program operation

HAL_FLASH_NS_ERROR_PGA (0x01UL << 6U)

Alignment error during non-secure program operation

HAL_FLASH_NS_ERROR_SIZE (0x01UL << 8U)

Size error during non-secure program operation

HAL_FLASH_ERROR_WRP (0x01UL << 3U)

Write protection error during program operation

HAL_FLASH_ERROR_PGS (0x01UL << 9U)

Sequence error during program operation

HAL_FLASH_NS_ERROR_WRP (0x01UL << 4U)

Write protection error non-secure during program operation

HAL_FLASH_NS_ERROR_PGS (0x01UL << 10U)

Sequence error non-secure during program operation