Private
Public Access
2
0

spi.c: change spi mode to a uint32_t

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-02-27 16:14:19 +00:00
parent 64f377cdfc
commit bd9eeb11ab

View File

@@ -42,7 +42,7 @@
struct _spi {
/*@{*/
int devfd; /**< File descriptor to SPI Device */
int mode; /**< Spi mode see spidev.h */
uint32_t mode; /**< Spi mode see spidev.h */
int clock; /**< clock to run transactions at */
mraa_boolean_t lsb; /**< least significant bit mode */
unsigned int bpw; /**< Bits per word */