SdFat
|
Software SPI class for access to SD and SDHC flash memory cards. More...
#include <SdSpiDriver.h>
Public Member Functions | |
void | activate () |
void | begin (uint8_t csPin) |
void | deactivate () |
uint8_t | receive () |
uint8_t | receive (uint8_t *buf, size_t n) |
void | select () |
void | send (uint8_t data) |
void | send (const uint8_t *buf, size_t n) |
void | setSpiSettings (SPISettings spiSettings) |
void | unselect () |
Software SPI class for access to SD and SDHC flash memory cards.
|
inlinevirtual |
Dummy activate SPI hardware for software SPI
Implements SdSpiBaseDriver.
|
inlinevirtual |
|
inlinevirtual |
Dummy deactivate SPI hardware for software SPI
Implements SdSpiBaseDriver.
|
inlinevirtual |
|
inlinevirtual |
Receive multiple bytes.
[out] | buf | Buffer to receive the data. |
[in] | n | Number of bytes to receive. |
Implements SdSpiBaseDriver.
|
inlinevirtual |
Set CS low.
Implements SdSpiBaseDriver.
|
inlinevirtual |
|
inlinevirtual |
Send multiple bytes.
[in] | buf | Buffer for data to be sent. |
[in] | n | Number of bytes to send. |
Implements SdSpiBaseDriver.
|
inlinevirtual |
Save SPISettings.
[in] | spiSettings | SPI speed, mode, and byte order. |
Implements SdSpiBaseDriver.
|
inlinevirtual |
Set CS high.
Implements SdSpiBaseDriver.