Execute erase in the internal flash.
int32_t flash_erase( struct flash_descriptor * flash, const uint32_t dst_addr, const uint32_t page_nums )
Type: struct flash_descriptor Struct *
Pointer to the HAL FLASH instance.
Type: const uint32_t
Destination bytes address aligned with page start to be erased
Type: const uint32_t
Number of pages to be erased
Type: int32_t
Success
Error