AceSPI
0.2.0
Unified interface for selecting hardware or software SPI implementations on Arduino platforms
|
Software SPI using pinModeFast(), digitalWriteFast() and shiftOutFast() from https://github.com/NicksonYap/digitalWriteFast. More...
#include <SimpleSpiFastInterface.h>
Public Member Functions | |
SimpleSpiFastInterface ()=default | |
Constructor. | |
void | begin () const |
Initialize the various pins. | |
void | end () const |
Reset the various pins. | |
void | send8 (uint8_t value) const |
Send 8 bits, including latching LOW and HIGH. | |
void | send16 (uint16_t value) const |
Send 16 bits, including latching LOW and HIGH. | |
void | send16 (uint8_t msb, uint8_t lsb) const |
Send 2 bytes as 16-bit stream, including latching LOW and HIGH. | |
SimpleSpiFastInterface (const SimpleSpiFastInterface &)=default | |
SimpleSpiFastInterface & | operator= (const SimpleSpiFastInterface &)=default |
Software SPI using pinModeFast(), digitalWriteFast() and shiftOutFast() from https://github.com/NicksonYap/digitalWriteFast.
T_LATCH_PIN | the latch pin (CS) |
T_DATA_PIN | the data pin (MOSI) |
T_CLOCK_PIN | the clock pin (CLK) |
Definition at line 42 of file SimpleSpiFastInterface.h.