Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
SPIClass Class Reference
Inheritance diagram for SPIClass:
SPIBase

Public Member Functions

void begin () override
 begin(): Initializes the SPI bus by setting SCK, MOSI, and SS to outputs, pulling SCK and MOSI low, and SS high. More...
 
void end () override
 end() More...
 
void beginTransaction (SPISettings mySettings) override
 beginTransaction() More...
 
void endTransaction () override
 endTransaction() More...
 
unsigned char transfer (unsigned char val) override
 transfer() More...
 
uint8 read8 ()
 read8() read a byte from SPI without setting up registers More...
 
unsigned short transfer16 (unsigned short val) override
 transfer16() More...
 
void transfer (uint8 *buffer, size_t numberBytes) override
 transfer(uint8 *buffer, size_t numberBytes) More...
 

Public Attributes

SPISettings SPIDefaultSettings
 Default settings used by the SPI bus until reset by beginTransaction(SPISettings) More...