libspiasm  0.5
SPI Driver
 All Data Structures Files Functions Variables Typedefs Macros
Data Fields
spi_struct Struct Reference

Data Fields

volatile int command
 packed SHIFTIN/SHIFTOUT command and address of Dpin
 
int Dpin
 Propeller pin for Data-in or Data-out.
 
int Cpin
 Propeller pin for Clock.
 
volatile int Mode
 SPI Mode (0 - 5).
 
volatile int Bits
 Bits to send or receive.
 
volatile int Value
 Data sent or received.
 
volatile int Flag
 0 = Data shift to Prop complete, 1 = in progress
 
int cog
 Remembers cog for spi_stop.
 

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