Go to the documentation of this file.
46 #ifdef SPI_WAITFORTxREADY
47 #define SPI_WAITFORTx_BEFORE() SPI_WAITFORTxREADY()
48 #define SPI_WAITFORTx_AFTER()
49 #define SPI_WAITFORTx_ENDED() SPI_WAITFOREOTx()
51 #define SPI_WAITFORTx_BEFORE()
52 #define SPI_WAITFORTx_AFTER() SPI_WAITFOREOTx()
53 #define SPI_WAITFORTx_ENDED()
56 extern unsigned char spi_busy;
61 #define SPI_WRITE(data) \
63 SPI_WAITFORTx_BEFORE(); \
70 #define SPI_WRITE_FAST(data) \
72 SPI_WAITFORTx_BEFORE(); \
74 SPI_WAITFORTx_AFTER(); \
78 #define SPI_READ(data) \