spiflash.h File Reference


Detailed Description

SPI flash definitions.

Definition in file spiflash.h.

Go to the source code of this file.

Functions

int SpiFlashEnable (void)
 Enable SPI device flash programming.
void SpiFlashId (u_char *id)
int SpiFlashWriteByte (u_char high, u_short addr, u_char data)
 Write byte to the target's flash memory.
int SpiFlashWriteWord (u_short addr, u_short data)
 Write word to the target's flash memory.
void SpiFlashErase (void)
 Erase target's flash memory.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/