SdFat
|
Class for external soft SPI. More...
#include <SdSpiSoftDriver.h>
Public Member Functions | |
void | activate () |
void | begin () |
void | begin (SdSpiConfig spiConfig) |
void | deactivate () |
uint8_t | receive () |
uint8_t | receive (uint8_t *buf, size_t count) |
void | send (const uint8_t *buf, size_t count) |
void | send (uint8_t data) |
void | setSckSpeed (uint32_t maxSck) |
Class for external soft SPI.
|
inlineinherited |
Activate SPI hardware.
|
inlinevirtual |
Initialize the SPI bus.
Implements SdSpiSoftDriver.
|
inlineinherited |
Initialize the SPI bus.
[in] | spiConfig | SD card configuration. |
|
inlineinherited |
Deactivate SPI hardware.
|
inlinevirtual |
|
inlineinherited |
Receive multiple bytes.
[out] | buf | Buffer to receive the data. |
[in] | count | Number of bytes to receive. |
|
inlineinherited |
Send multiple bytes.
[in] | buf | Buffer for data to be sent. |
[in] | count | Number of bytes to send. |
|
inlinevirtual |
|
inlineinherited |
Save high speed SPISettings after SD initialization.
[in] | maxSck | Maximum SCK frequency. |