flag flag
ï€ FLASH_FLAG_WRPERR : FLASH Write protected
error flag
ï€ FLASH_FLAG_EOP : FLASH End of Programming flag
ï‚· The new state of FLASH_FLAG (SET or RESET).
11.2.9.3 FLASH_ClearFlag
void FLASH_ClearFlag ( uint32_t FLASH_FLAG)
Clears the FLASH's pending flags.
ï‚· FLASH_FLAG : specifies the FLASH flags to clear. This
parameter can be any combination of the following values:
ï€ FLASH_FLAG_PGERR : FLASH Programming error
flag flag
ï€ FLASH_FLAG_WRPERR : FLASH Write protected
error flag
ï€ FLASH_FLAG_EOP : FLASH End of Programming flag
11.2.9.4 FLASH_GetStatus
FLASH_Status FLASH_GetStatus ( void )
Returns the FLASH Status.
ï‚· FLASH Status: The returned value can be:
FLASH_BUSY, FLASH_ERROR_PROGRAM,
FLASH_ERROR_WRP or FLASH_COMPLETE.