SPISoft.h
Go to the documentation of this file.
22 * begin(): Initializes the SPI bus by setting SCK, MOSI, and SS to outputs, pulling SCK and MOSI low, and SS high.
41 * endTransaction(): Stop using the SPI bus. Normally this is called after de-asserting the chip select, to allow other libraries to use the SPI bus.
50 * SPI transfer is based on a simultaneous send and receive: the received data is returned in receivedVal (or receivedVal16). In case of buffer transfers the received data is stored in the buffer in-place (the old data is replaced with the data received).
Definition: SPISettings.h:33
void beginTransaction(SPISettings mySettings) override
beginTransaction(): Initializes the SPI bus using the defined SPISettings.
Definition: SPISoft.h:36
void begin() override
begin(): Initializes the SPI bus by setting SCK, MOSI, and SS to outputs, pulling SCK and MOSI low...
void transfer(uint8_t *buffer, size_t size) override
void setDelay(uint8_t dly)
Set microsecond delay for the SCK signal. Impacts SPI speed.
Definition: SPISoft.h:73
Definition: SPISoft.h:13
SPISoft(uint16_t miso, uint16_t mosi, uint16_t sck, uint8_t delay)
Definition: SPISoft.h:16
unsigned char transfer(unsigned char val) override
transfer(), transfer16()
Definition: SPISoft.h:58
Definition: SPIBase.h:25
void endTransaction() override
endTransaction(): Stop using the SPI bus. Normally this is called after de-asserting the chip select...
Definition: SPISoft.h:43
void end() override
end(): Disables the SPI bus (leaving pin modes unchanged).
Definition: SPISoft.h:29