STM32F103xB HAL User Manual
Defines
FLASH Error Codes
FLASH Exported Constants

Defines

#define HAL_FLASH_ERROR_NONE   0x00U
#define HAL_FLASH_ERROR_PROG   0x01U
#define HAL_FLASH_ERROR_WRP   0x02U
#define HAL_FLASH_ERROR_OPTV   0x04U

Define Documentation

#define HAL_FLASH_ERROR_NONE   0x00U
#define HAL_FLASH_ERROR_OPTV   0x04U

Option validity error

Definition at line 120 of file stm32f1xx_hal_flash.h.

Referenced by FLASH_SetErrorCode().

#define HAL_FLASH_ERROR_PROG   0x01U

Programming error

Definition at line 118 of file stm32f1xx_hal_flash.h.

Referenced by FLASH_SetErrorCode().

#define HAL_FLASH_ERROR_WRP   0x02U

Write protection error

Definition at line 119 of file stm32f1xx_hal_flash.h.

Referenced by FLASH_SetErrorCode().