![]() |
Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
|
SD file system class for FAT volumes. More...
#include <SdFat.h>
Inherits SdBase< FatVolume >.
Public Member Functions | |
| bool | format (print_t *pr=nullptr) |
Public Member Functions inherited from SdBase< FatVolume > | |
| bool | begin (SdCsPin_t csPin=SS) |
| bool | begin (SdCsPin_t csPin, uint32_t maxSck) |
| 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 | errorHalt (const __FlashStringHelper *msg) |
| void | errorHalt () |
| void | errorHalt (const char *msg) |
| void | initErrorHalt (print_t *pr) |
| void | initErrorHalt (print_t *pr, const char *msg) |
| void | initErrorHalt (Print *pr, const __FlashStringHelper *msg) |
| void | initErrorHalt () |
| void | initErrorHalt (const char *msg) |
| void | initErrorHalt (const __FlashStringHelper *msg) |
| void | initErrorPrint (Print *pr) |
| void | initErrorPrint () |
| void | printFatType (print_t *pr) |
| void | errorPrint (print_t *pr) |
| void | errorPrint (print_t *pr, char const *msg) |
| void | errorPrint (Print *pr, const __FlashStringHelper *msg) |
| void | errorPrint (const char *msg) |
| void | errorPrint (const __FlashStringHelper *msg) |
| void | printSdError (print_t *pr) |
| uint8_t | sdErrorCode () |
| uint8_t | sdErrorData () |
| FatVolume * | vol () |
| bool | volumeBegin () |
Public Member Functions inherited from FatVolume | |
| bool | begin (BlockDevice *dev, bool setCwv=true, uint8_t part=1) |
| void | chvol () |
| bool | chdir () |
| bool | chdir (const char *path) |
| bool | exists (const char *path) |
| bool | ls (print_t *pr, uint8_t flags=0) |
| bool | ls (print_t *pr, const char *path, uint8_t flags) |
| bool | mkdir (const char *path, bool pFlag=true) |
| File32 | open (const char *path, oflag_t oflag=O_RDONLY) |
| bool | remove (const char *path) |
| bool | rename (const char *oldPath, const char *newPath) |
| bool | rmdir (const char *path) |
| bool | truncate (const char *path, uint32_t length) |
| bool | ls (uint8_t flags=0) |
| bool | ls (const char *path, uint8_t flags=0) |
| bool | chdir (const String &path) |
| bool | exists (const String &path) |
| bool | mkdir (const String &path, bool pFlag=true) |
| File32 | open (const String &path, oflag_t oflag=O_RDONLY) |
| bool | remove (const String &path) |
| bool | rename (const String &oldPath, const String &newPath) |
| bool | rmdir (const String &path) |
| bool | truncate (const String &path, uint32_t length) |
Public Member Functions inherited from FatPartition | |
| FatPartition () | |
| uint8_t | bytesPerClusterShift () const |
| uint16_t | bytesPerCluster () const |
| uint16_t | bytesPerSector () const |
| uint8_t | bytesPerSectorShift () const |
| uint16_t | sectorMask () const |
| uint8_t | sectorsPerCluster () const |
| uint8_t | blocksPerCluster () __attribute__((deprecated)) |
| uint32_t | sectorsPerFat () const |
| uint8_t * | cacheClear () |
| uint32_t | clusterCount () const |
| uint8_t | sectorsPerClusterShift () const |
| uint32_t | dataStartSector () const |
| uint8_t | fatCount () const |
| uint32_t | fatStartSector () const |
| uint8_t | fatType () const |
| int32_t | freeClusterCount () |
| bool | init (BlockDevice *dev, uint8_t part=1) |
| uint16_t | rootDirEntryCount () const |
| uint32_t | rootDirStart () const |
| uint32_t | volumeSectorCount () const |
| int8_t | dbgFat (uint32_t n, uint32_t *v) |
| bool | isBusy () |
| void | dmpDirSector (print_t *pr, uint32_t sector) |
| void | dmpFat (print_t *pr, uint32_t start, uint32_t count) |
| void | dmpRootDir (print_t *pr) |
| void | dmpSector (print_t *pr, uint32_t sector, uint8_t bits=8) |
SD file system class for FAT volumes.
|
inline |
Format a SD card FAT32/FAT16.
| [in] | pr | Optional Print information. |