|
Arduino-SPI
Serial Peripheral Interface (SPI) library for Arduino
|
#include <SPI.h>

Public Member Functions | |
| Device (SPI &spi, bool ss=HIGH) | |
| void | acquire () |
| void | release () |
| uint8_t | transfer (uint8_t value) |
| void | transfer (void *dest, const void *src, size_t count) |
| void | read (void *buf, size_t count) |
| void | write (const void *buf, size_t count) |
Protected Attributes | |
| SPI & | m_spi |
| GPIO< SS_PIN > | m_ss |
| const uint8_t | PRESCALE |
Serial Perpheral Interface (SPI) device driver class.
| [in] | MODE | clock mode (polarity and phase). |
| [in] | BITORDER | LSB or MSB first. |
| [in] | FREQ | max clock frequency. |
| [in] | SS_PIN | board pin for device slave select. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |