AceSPI  0.2.0
Unified interface for selecting hardware or software SPI implementations on Arduino platforms
Public Member Functions | List of all members
ace_spi::SimpleSpiFastInterface< T_LATCH_PIN, T_DATA_PIN, T_CLOCK_PIN > Class Template Reference

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
 
SimpleSpiFastInterfaceoperator= (const SimpleSpiFastInterface &)=default
 

Detailed Description

template<uint8_t T_LATCH_PIN, uint8_t T_DATA_PIN, uint8_t T_CLOCK_PIN>
class ace_spi::SimpleSpiFastInterface< T_LATCH_PIN, T_DATA_PIN, T_CLOCK_PIN >

Software SPI using pinModeFast(), digitalWriteFast() and shiftOutFast() from https://github.com/NicksonYap/digitalWriteFast.

Template Parameters
T_LATCH_PINthe latch pin (CS)
T_DATA_PINthe data pin (MOSI)
T_CLOCK_PINthe clock pin (CLK)

Definition at line 42 of file SimpleSpiFastInterface.h.


The documentation for this class was generated from the following file: