Nut/OS  4.10.3
API Reference
spiflash.h File Reference

SPI flash definitions. More...

#include <sys/device.h>
Include dependency graph for spiflash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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.

Detailed Description

SPI flash definitions.

Definition in file spiflash.h.