7 #include "GenericSPI.h"
31 return SPI.transfer(data);
40 return SPI.attachInterrupt();
47 return SPI.detachInterrupt();
70 SPI.setBitOrder (bitOrder);
78 SPI.setDataMode (mode);
88 SPI.setClockDivider (rate);
void begin()
Definition: HardwareSPI.h:52
Base class for SPI interfaces.
Definition: GenericSPI.h:28
void setClockDivider(uint8_t rate)
Definition: HardwareSPI.h:86
Encapsulate the Arduino hardware SPI interface.
Definition: HardwareSPI.h:21
void detachInterrupt()
Definition: HardwareSPI.h:45
uint8_t transfer(uint8_t data)
Definition: HardwareSPI.h:29
void setDataMode(uint8_t mode)
Definition: HardwareSPI.h:76
void end()
Definition: HardwareSPI.h:59
void setBitOrder(uint8_t bitOrder)
Definition: HardwareSPI.h:68
void attachInterrupt()
Definition: HardwareSPI.h:38