HAL_FLASHEx_Erase_IT() function
Perform a mass erase or erase the specified FLASH memory sectors with interrupt enabled
Arguments
pEraseInit
pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing.
Return value
HAL Status