Wixel SDK
spi.h
Go to the documentation of this file.
1 
5 #ifndef _SPI_H
6 #define _SPI_H
7 
9 #define SPI_POLARITY_IDLE_LOW 0
10 
11 #define SPI_POLARITY_IDLE_HIGH 1
12 
14 #define SPI_PHASE_EDGE_LEADING 0
15 
16 #define SPI_PHASE_EDGE_TRAILING 1
17 
19 #define SPI_BIT_ORDER_MSB_FIRST 0
20 
22 #define SPI_BIT_ORDER_LSB_FIRST 1
23 
24 
25 #endif /* SPI_H_ */