SPI flash definitions. More...
#include <sys/device.h>
Go to the source code of this file.
Functions | |
int | SpiFlashEnable (void) |
Enable SPI device flash programming. | |
void | SpiFlashId (uint8_t *id) |
int | SpiFlashWriteByte (uint8_t high, uint16_t addr, uint8_t data) |
Write byte to the target's flash memory. | |
int | SpiFlashWriteWord (uint16_t addr, uint16_t data) |
Write word to the target's flash memory. | |
void | SpiFlashErase (void) |
Erase target's flash memory. |
SPI flash definitions.
Definition in file spiflash.h.