![]() |
Repetier-Firmware
0.80
|
Integration class for the SdFat library. More...
#include <SdFat.h>
Public Member Functions | |
| SdFat () | |
| bool | begin (uint8_t chipSelectPin=SD_CHIP_SELECT_PIN, uint8_t sckRateID=SPI_FULL_SPEED) |
| Sd2Card * | card () |
| bool | chdir (bool set_cwd=false) |
| bool | chdir (const char *path, bool set_cwd=false) |
| void | chvol () |
| void | errorHalt () |
| void | errorHalt_P (PGM_P msg) |
| void | errorHalt (char const *msg) |
| void | errorPrint () |
| void | errorPrint_P (PGM_P msg) |
| void | errorPrint (char const *msg) |
| bool | exists (const char *name) |
| bool | init (uint8_t sckRateID=SPI_FULL_SPEED, uint8_t chipSelectPin=SD_CHIP_SELECT_PIN) |
| void | initErrorHalt () |
| void | initErrorHalt (char const *msg) |
| void | initErrorHalt_P (PGM_P msg) |
| void | initErrorPrint () |
| void | initErrorPrint (char const *msg) |
| void | initErrorPrint_P (PGM_P msg) |
| void | ls (uint8_t flags=0) |
| void | ls (Print *pr, uint8_t flags=0) |
| bool | mkdir (const char *path, bool pFlag=true) |
| 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) |
| SdVolume * | vol () |
| SdBaseFile * | vwd () |
Static Public Member Functions | |
| static void | setStdOut (Print *stream) |
| static Print * | stdOut () |
Private Attributes | |
| Sd2Card | card_ |
| SdVolume | vol_ |
| SdBaseFile | vwd_ |
Static Private Attributes | |
| static Print * | stdOut_ |
Integration class for the SdFat library.
| SdFat | ( | ) | [inline] |
| bool begin | ( | uint8_t | chipSelectPin = SD_CHIP_SELECT_PIN, |
| uint8_t | sckRateID = SPI_FULL_SPEED |
||
| ) | [inline] |
Initialize an SdFat object. Arduino friendly version of init.
Initializes the SD card, SD volume, and root directory.
| [in] | chipSelectPin | SD chip select pin. See Sd2Card::init(). |
| [in] | sckRateID | value for SPI SCK rate. See Sd2Card::init(). |
| bool chdir | ( | bool | set_cwd = false | ) |
| bool chdir | ( | const char * | path, |
| bool | set_cwd = false |
||
| ) |
| void chvol | ( | ) |
| void errorHalt | ( | ) |
| void errorHalt | ( | char const * | msg | ) |
| void errorHalt_P | ( | PGM_P | msg | ) |
| void errorPrint | ( | ) |
| void errorPrint | ( | char const * | msg | ) |
| void errorPrint_P | ( | PGM_P | msg | ) |
| bool exists | ( | const char * | name | ) |
| bool init | ( | uint8_t | sckRateID = SPI_FULL_SPEED, |
| uint8_t | chipSelectPin = SD_CHIP_SELECT_PIN |
||
| ) |
| void initErrorHalt | ( | ) |
| void initErrorHalt | ( | char const * | msg | ) |
| void initErrorHalt_P | ( | PGM_P | msg | ) |
| void initErrorPrint | ( | ) |
| void initErrorPrint | ( | char const * | msg | ) |
| void initErrorPrint_P | ( | PGM_P | msg | ) |
| void ls | ( | uint8_t | flags = 0 | ) |
| void ls | ( | Print * | pr, |
| uint8_t | flags = 0 |
||
| ) |
| bool mkdir | ( | const char * | path, |
| bool | pFlag = true |
||
| ) |
| bool remove | ( | const char * | path | ) |
| bool rename | ( | const char * | oldPath, |
| const char * | newPath | ||
| ) |
| bool rmdir | ( | const char * | path | ) |
| static void setStdOut | ( | Print * | stream | ) | [inline, static] |
Set stdOut Print stream for messages.
| [in] | stream | The new Print stream. |
| static Print* stdOut | ( | ) | [inline, static] |
| bool truncate | ( | const char * | path, |
| uint32_t | length | ||
| ) |
| SdBaseFile* vwd | ( | ) | [inline] |
Print* stdOut_ [static, private] |
SdBaseFile vwd_ [private] |