PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Public Member Functions | Static Public Attributes | List of all members
SPI Class Reference
+ Collaboration diagram for SPI:

Public Member Functions

int32_t Start (int32_t _clockdelay, int32_t _clockstate)
 
int32_t Shiftout (int32_t Dpin, int32_t Cpin, int32_t Mode, int32_t Bits, int32_t Value)
 
int32_t Shiftin (int32_t Dpin, int32_t Cpin, int32_t Mode, int32_t Bits)
 
int32_t Postclock (int32_t _cpin)
 
int32_t Preclock (int32_t _cpin)
 

Static Public Attributes

static const int Msbpre = 0
 
static const int Lsbpre = 1
 
static const int Msbpost = 2
 
static const int Lsbpost = 3
 
static const int Lsbfirst = 4
 
static const int Msbfirst = 5
 

Detailed Description

Examples
L3G_Demo.cpp, MAX6675_Demo.cpp, MCP2515_Demo.cpp, MCP3xxx_Demo.cpp, and SPI_Demo.cpp.

Definition at line 11 of file SPI.h.


The documentation for this class was generated from the following files: