|
| | SdFile (const char *name, uint8_t oflag) |
| |
| size_t | write (uint8_t b) |
| |
|
void | write (uint8_t b) |
| |
|
bool | openFilteredGcode (SdBaseFile *dirFile, const char *path) |
| |
|
int16_t | readFilteredGcode () |
| |
|
bool | seekSetFilteredGcode (uint32_t pos) |
| |
| int16_t | write (const void *buf, uint16_t nbyte) |
| |
| void | write (const char *str) |
| |
| void | write_P (PGM_P str) |
| |
| void | writeln_P (PGM_P str) |
| |
| | SdBaseFile () |
| |
| | SdBaseFile (const char *path, uint8_t oflag) |
| |
| void | getpos (filepos_t *pos) |
| |
| void | setpos (filepos_t *pos) |
| |
| bool | close () |
| |
| bool | contiguousRange (uint32_t *bgnBlock, uint32_t *endBlock) |
| |
| bool | createContiguous (SdBaseFile *dirFile, const char *path, uint32_t size) |
| |
| uint32_t | curCluster () const |
| |
| uint32_t | curPosition () const |
| |
| bool | dirEntry (dir_t *dir) |
| |
| bool | exists (const char *name) |
| |
| int16_t | fgets (char *str, int16_t num, char *delim=0) |
| |
| uint32_t | fileSize () const |
| |
| uint32_t | firstCluster () const |
| |
| bool | getFilename (char *name) |
| |
| bool | isDir () const |
| |
| bool | isFile () const |
| |
| bool | isOpen () const |
| |
| bool | isSubDir () const |
| |
| bool | isRoot () const |
| |
| void | ls (uint8_t flags=0, uint8_t indent=0) |
| |
| bool | mkdir (SdBaseFile *dir, const char *path, bool pFlag=true) |
| |
|
bool | makeDir (SdBaseFile *dir, const char *path) |
| |
| bool | open (SdBaseFile *dirFile, uint16_t index, uint8_t oflag) |
| |
| bool | open (SdBaseFile *dirFile, const char *path, uint8_t oflag) |
| |
| bool | open (const char *path, uint8_t oflag=O_READ) |
| |
| bool | openNext (SdBaseFile *dirFile, uint8_t oflag) |
| |
| bool | openRoot (SdVolume *vol) |
| |
| int | peek () |
| |
| bool | printName () |
| |
| int8_t | readDir (dir_t *dir, char *longFilename) |
| |
| bool | remove () |
| |
| void | rewind () |
| |
| bool | rename (SdBaseFile *dirFile, const char *newPath) |
| |
| bool | rmdir () |
| |
|
bool | rmDir () |
| |
| bool | rmRfStar () |
| |
| bool | seekCur (int32_t offset) |
| |
| bool | seekEnd (int32_t offset=0) |
| |
| bool | seekSet (uint32_t pos) |
| |
| bool | sync () |
| |
| bool | timestamp (SdBaseFile *file) |
| |
| bool | timestamp (uint8_t flag, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) |
| |
| uint8_t | type () const |
| |
| bool | truncate (uint32_t size) |
| |
| SdVolume * | volume () const |
| |
| int16_t | write (const void *buf, uint16_t nbyte) |
| |
| bool | contiguousRange (uint32_t &bgnBlock, uint32_t &endBlock) |
| |
| bool | createContiguous (SdBaseFile &dirFile, const char *path, uint32_t size) |
| |
| bool | dirEntry (dir_t &dir) |
| |
| bool | mkdir (SdBaseFile &dir, const char *path) |
| |
| bool | open (SdBaseFile &dirFile, const char *path, uint8_t oflag) |
| |
| bool | open (SdBaseFile &dirFile, const char *path) |
| |
| bool | open (SdBaseFile &dirFile, uint16_t index, uint8_t oflag) |
| |
| bool | openRoot (SdVolume &vol) |
| |
| int8_t | readDir (dir_t &dir, char *longFilename) |
| |
|
| static SdBaseFile * | cwd () |
| |
| static void | dateTimeCallback (void(*dateTime)(uint16_t *date, uint16_t *time)) |
| |
| static void | dateTimeCallbackCancel () |
| |
| static void | dirName (const dir_t &dir, char *name) |
| |
| static void | printFatDate (uint16_t fatDate) |
| |
| static void | printFatTime (uint16_t fatTime) |
| |
| static bool | remove (SdBaseFile *dirFile, const char *path) |
| |
| static void | dateTimeCallback (void(*dateTime)(uint16_t &date, uint16_t &time)) |
| |
| static bool | remove (SdBaseFile &dirFile, const char *path) |
| |
| bool | writeError |
| |
| int16_t | read () |
| |
| int16_t | read (void *buf, uint16_t nbyte) |
| |
| bool | openParent (SdBaseFile *dir) |
| |
|
bool | addCluster () |
| |
|
bool | addDirCluster () |
| |
|
dir_t * | cacheDirEntry (uint8_t action) |
| |
|
int8_t | lsPrintNext (uint8_t flags, uint8_t indent) |
| |
|
bool | mkdir (SdBaseFile *parent, const uint8_t dname[11]) |
| |
|
bool | open (SdBaseFile *dirFile, const uint8_t dname[11], uint8_t oflag) |
| |
|
bool | openCachedEntry (uint8_t cacheIndex, uint8_t oflags) |
| |
|
dir_t * | readDirCache () |
| |
|
static bool | make83Name (const char *str, uint8_t *name, const char **ptr) |
| |
| static void | printDirName (const dir_t &dir, uint8_t width, bool printSlash) |
| |
|
uint8_t | flags_ |
| |
|
uint8_t | fstate_ |
| |
|
uint8_t | type_ |
| |
|
uint32_t | curCluster_ |
| |
|
uint32_t | curPosition_ |
| |
|
uint32_t | dirBlock_ |
| |
|
uint8_t | dirIndex_ |
| |
|
uint32_t | fileSize_ |
| |
|
uint32_t | firstCluster_ |
| |
|
SdVolume * | vol_ |
| |
|
static SdBaseFile * | cwd_ = 0 |
| |
|
static void(* | dateTime_ )(uint16_t *date, uint16_t *time) |
| |
|
static uint8_t const | F_OFLAG = (O_ACCMODE | O_APPEND | O_SYNC) |
| |
|
static uint8_t const | F_FILE_DIR_DIRTY = 0X80 |
| |