Contiki-NG
|
Header file for the external SPI flash API. More...
Go to the source code of this file.
Functions | |
bool | ext_flash_open (const spi_device_t *conf) |
Initialize storage driver. More... | |
bool | ext_flash_close (const spi_device_t *conf) |
Close the storage driver. More... | |
bool | ext_flash_read (const spi_device_t *conf, uint32_t offset, uint32_t length, uint8_t *buf) |
Read storage content. More... | |
bool | ext_flash_erase (const spi_device_t *conf, uint32_t offset, uint32_t length) |
Erase storage sectors corresponding to the range. More... | |
bool | ext_flash_write (const spi_device_t *conf, uint32_t offset, uint32_t length, const uint8_t *buf) |
Write to storage sectors. More... | |
bool | ext_flash_init (const spi_device_t *conf) |
Initialise the external flash. More... | |
Header file for the external SPI flash API.
Definition in file ext-flash.h.