mraa  0.4.5
Low Level Skeleton Library for Communication on GNU/Linux platforms
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
mraa_spi_bus_t Struct Reference

Detailed Description

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
 

Field Documentation

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


The documentation for this struct was generated from the following file: