Arduino-SPI
Serial Peripheral Interface (SPI) library for Arduino
ShiftIn.ino File Reference
#include "GPIO.h"
#include "SRPI.h"
#include "SPI.h"
#include "benchmark.h"
#include "Software/SPI.h"
Include dependency graph for ShiftIn.ino:

Go to the source code of this file.

Macros

#define USE_SOFTWARE_SPI
 
#define BITORDER   MSBFIRST
 
#define MOSI_PIN   11
 
#define MISO_PIN   12
 
#define SCK_PIN   13
 

Functions

void setup ()
 
void loop ()
 

Variables

GPIO< BOARD::D10 > ss
 
Software::SPI< BOARD::D11, BOARD::D12, BOARD::D13 > spi
 
SPI::Device< 0, BITORDER, SPI::MAX_FREQ, BOARD::D10 > dev (spi)
 
SRPI< BITORDER, BOARD::D12, BOARD::D13 > srpi
 

Macro Definition Documentation

#define BITORDER   MSBFIRST

Definition at line 9 of file ShiftIn.ino.

#define MISO_PIN   12

Definition at line 40 of file ShiftIn.ino.

#define MOSI_PIN   11

Definition at line 39 of file ShiftIn.ino.

#define SCK_PIN   13

Definition at line 41 of file ShiftIn.ino.

#define USE_SOFTWARE_SPI

Definition at line 7 of file ShiftIn.ino.

Function Documentation

void loop ( )

Definition at line 53 of file ShiftIn.ino.

void setup ( )

Definition at line 44 of file ShiftIn.ino.

Variable Documentation

SPI::Device<0, BITORDER, SPI::MAX_FREQ, BOARD::D10> dev(spi)
Software::SPI<BOARD::D11, BOARD::D12, BOARD::D13> spi

Definition at line 21 of file ShiftIn.ino.

SRPI<BITORDER, BOARD::D12, BOARD::D13> srpi

Definition at line 23 of file ShiftIn.ino.

GPIO<BOARD::D10> ss

Definition at line 20 of file ShiftIn.ino.