SdFat
|
base SD file system template class. More...
#include <SdFat.h>
Public Member Functions | |
bool | begin (SdCsPin_t csPin, uint32_t maxSck) |
bool | begin (SdCsPin_t csPin=SS) |
bool | begin (SdioConfig sdioConfig) |
bool | begin (SdSpiConfig spiConfig) |
SdCard * | card () |
bool | cardBegin (SdioConfig sdioConfig) |
bool | cardBegin (SdSpiConfig spiConfig) |
void | errorHalt () |
void | errorHalt (const __FlashStringHelper *msg) |
void | errorHalt (const char *msg) |
void | errorHalt (print_t *pr) |
void | errorHalt (print_t *pr, const __FlashStringHelper *msg) |
void | errorHalt (print_t *pr, const char *msg) |
void | errorPrint (const __FlashStringHelper *msg) |
void | errorPrint (const char *msg) |
void | errorPrint (Print *pr, const __FlashStringHelper *msg) |
void | errorPrint (print_t *pr) |
void | errorPrint (print_t *pr, char const *msg) |
void | initErrorHalt () |
void | initErrorHalt (const __FlashStringHelper *msg) |
void | initErrorHalt (const char *msg) |
void | initErrorHalt (Print *pr, const __FlashStringHelper *msg) |
void | initErrorHalt (print_t *pr) |
void | initErrorHalt (print_t *pr, const char *msg) |
void | initErrorPrint () |
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.
Initialize SD card and file system.
[in] | csPin | SD card chip select pin. |
[in] | maxSck | Maximum SCK frequency. |
Initialize SD card and file system.
[in] | csPin | SD card chip select pin. |
|
inline |
Initialize SD card and file system for SDIO mode.
[in] | sdioConfig | SDIO configuration. |
|
inline |
Initialize SD card and file system for SPI mode.
[in] | spiConfig | SPI configuration. |
|
inline |
Initialize SD card in SDIO mode.
[in] | sdioConfig | SDIO configuration. |
|
inline |
Initialize SD card in SPI mode.
[in] | spiConfig | SPI configuration. |
|
inline |
Print error info to Serial and halt.
|
inline |
Print msg to Serial and halt.
[in] | msg | Message to print. |
|
inline |
Print error info and halt.
[in] | msg | Message to print. |
Print error info and halt.
[in] | pr | Print destination. |
|
inline |
Print msg and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
Print error info and halt.
[in] | pr | Print destination. |
[in] | msg | Message to print. |
|
inline |
Print msg, any SD error code.
[in] | msg | Message to print. |
|
inline |
Print msg, any SD error code.
[in] | msg | Message to print. |
|
inline |
Print msg, any SD error code.
[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 error info and halt.
|
inline |
Print error info and halt.
[in] | msg | Message to print. |
|
inline |
Print error info and halt.
[in] | msg | Message to print. |
|
inline |
Print error info and halt.
[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 details after begin() fails.
|
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.