SdFat
Classes | Macros | Variables
Software SPI

Classes

class  SoftSPI< MisoPin, MosiPin, SckPin, Mode >
 Fast software SPI. More...
 

Macros

#define nop   asm volatile ("nop\n\t")
 

Variables

const bool MISO_LEVEL = false
 
const bool MISO_MODE = false
 
const bool MOSI_MODE = true
 
const bool SCK_MODE = true
 

Detailed Description

Software SPI Template Class.

Macro Definition Documentation

#define nop   asm volatile ("nop\n\t")

Nop for timing.

Variable Documentation

const bool MISO_LEVEL = false

Pullups disabled for MISO are disabled.

const bool MISO_MODE = false

Pin Mode for MISO is input.

const bool MOSI_MODE = true

Pin Mode for MOSI is output.

const bool SCK_MODE = true

Pin Mode for SCK is output.