SdFat
|
base SD file system template class. More...
#include <SdFat.h>
Public Member Functions | |
bool | begin (uint8_t csPin=SS) |
bool | begin (SdSpiConfig spiConfig) |
bool | begin (SdioConfig sdioConfig) |
SdCard * | card () |
bool | cardBegin (SdSpiConfig spiConfig) |
bool | cardBegin (SdioConfig sdioConfig) |
void | errorHalt (print_t *pr) |
void | errorHalt (print_t *pr, const char *msg) |
void | errorHalt (print_t *pr, const __FlashStringHelper *msg) |
void | errorPrint (print_t *pr) |
void | errorPrint (print_t *pr, char const *msg) |
void | errorPrint (Print *pr, const __FlashStringHelper *msg) |
void | initErrorHalt (print_t *pr) |
void | initErrorHalt (print_t *pr, const char *msg) |
void | initErrorHalt (Print *pr, const __FlashStringHelper *msg) |
void | initErrorPrint (Print *pr) |
void | printFatType (print_t *pr) |
void | printSdError (print_t *pr) |
uint8_t | sdErrorCode () |
uint8_t | sdErrorData () |
Vol * | vol () |
bool | volumeBegin () |
base SD file system template class.
|
inline |
Initialize SD card and file system.
[in] | csPin | SD card chip select pin. |
|
inline |
Initialize SD card and file system for SPI mode.
[in] | spiConfig | SPI configuration. |
|
inline |
Initialize SD card and file system for SDIO mode.
[in] | sdioConfig | SDIO configuration. |
|
inline |
Initialize SD card in SPI mode.
[in] | spiConfig | SPI configuration. |
|
inline |
Initialize SD card in SDIO mode.
[in] | sdioConfig | SDIO configuration. |
Print error info and halt.
[in] | pr | Print destination. |
Print error info and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
|
inline |
Print msg and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
Print SD errorCode and errorData.
[in] | pr | Print destination. |
Print msg, any SD error code.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
|
inline |
Print msg, any SD error code.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
Print error info and halt.
[in] | pr | Print destination. |
Print error info and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
|
inline |
Print error info and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
|
inline |
Print error details after begin() fails.
[in] | pr | Print destination. |
Print volume FAT/exFAT type.
[in] | pr | Print destination. |
Print error info and return.
[in] | pr | Print destination. |
|
inline |
|
inline |
|
inline |
|
inline |
Initialize file system after call to cardBegin.