|
mraa
0.4.5
Low Level Skeleton Library for Communication on GNU/Linux platforms
|
A Structure representing the physical properties of a spi bus.
Data Fields | |
| unsigned int | bus_id |
| unsigned int | slave_s |
| mraa_boolean_t | three_wire |
| unsigned int | sclk |
| unsigned int | mosi |
| unsigned int | miso |
| unsigned int | cs |
| unsigned int bus_id |
The Bus ID as exposed to the system.
| unsigned int slave_s |
Slave select
| mraa_boolean_t three_wire |
Is the bus only a three wire system
| unsigned int sclk |
Serial Clock
| unsigned int mosi |
Master Out, Slave In.
| unsigned int miso |
Master In, Slave Out.
| unsigned int cs |
Chip Select, used when the board is a spi slave
1.8.7