1 #ifndef __EFSL_SPI_H__6B6MX40N68__
2 #define __EFSL_SPI_H__6B6MX40N68__
9 typedef struct hwInterface hwInterface;
11 esint8 if_initInterface(hwInterface* file,eint8* opts);
12 esint8 if_readBuf(hwInterface* file,euint32 address,euint8* buf);
13 esint8 if_writeBuf(hwInterface* file,euint32 address,euint8* buf);
14 esint8 if_setPos(hwInterface* file,euint32 address);
16 void if_spiInit(hwInterface *iface);
17 void if_spiSetSpeed(euint8 speed);
18 euint8 if_spiSend(hwInterface *iface, euint8 outgoing);