7#ifndef EXTERNAL_FLASH_H_
8#define EXTERNAL_FLASH_H_
107 size_t * number_of_sector);
extFlash_res_e externalFlash_startWrite(void *to, const void *from, size_t amount)
Write bytes to flash.
extFlash_res_e externalFlash_init(void)
Initialize the external flash driver.
extFlash_res_e externalFlash_startErase(size_t *sector_base, size_t *number_of_sector)
Erase a sector of flash.
extFlash_res_e
External flash operations result.
uint32_t is_busy_call_time
uint32_t byte_write_call_time
extFlash_res_e externalFlash_getInfo(flash_info_t *info)
Fills a structure with info about flash.
extFlash_res_e externalFlash_startRead(void *to, const void *from, size_t amount)
Read bytes from external flash.
bool externalFlash_isBusy(void)
Checks if flash driver is busy.
uint32_t sector_erase_call_time
uint32_t sector_erase_time
uint32_t page_write_call_time
Flash memory info definition.