NetBurner 3.1
wilc_spi.h
1 /*NB_REVISION*/
2 
3 /*NB_COPYRIGHT*/
4 
5 #ifndef _WILC_SPI_H_
6 #define _WILC_SPI_H_
7 
8 #if (defined NANO54415 || defined MOD5441X || defined SB800EX)
9 #include <dspi.h>
10 extern volatile dspistruct *dspi;
11 #endif
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 int polledSPIRx(unsigned char *RxBuf, unsigned short size, unsigned int moduleNum);
18 int polledSPITx(unsigned char *TxBuf, unsigned short size, unsigned int moduleNum);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #endif /* _WILC_SPI_H_ */
NetBurner DMA SPI (DSPI) API for ARM SAME70.