MySensors Library & Examples  2.3.2
Classes | Macros
Software SPI

Detailed Description

Software SPI Template Class.

Classes

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

Macros

#define nop   asm volatile ("nop\n\t")
 
#define MISO_MODE   INPUT
 
#define MISO_LEVEL   false
 
#define MOSI_MODE   OUTPUT
 
#define SCK_MODE   OUTPUT
 

Macro Definition Documentation

◆ MISO_LEVEL

#define MISO_LEVEL   false

Pullups disabled for MISO are disabled.

Definition at line 39 of file SoftSPI.h.

◆ MISO_MODE

#define MISO_MODE   INPUT

Pin Mode for MISO is input.

Definition at line 37 of file SoftSPI.h.

◆ MOSI_MODE

#define MOSI_MODE   OUTPUT

Pin Mode for MOSI is output.

Definition at line 41 of file SoftSPI.h.

◆ nop

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

Nop for timing.

Definition at line 34 of file SoftSPI.h.

◆ SCK_MODE

#define SCK_MODE   OUTPUT

Pin Mode for SCK is output.

Definition at line 43 of file SoftSPI.h.