ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
ESP_SD Class Reference

#include <esp_sd.h>

Public Member Functions

 ESP_SD ()
 
 ~ESP_SD ()
 

Static Public Member Functions

static String & formatBytes (uint64_t bytes)
 
static bool begin ()
 
static void handle ()
 
static void end ()
 
static uint8_t getState (bool refresh)
 
static uint8_t setState (uint8_t state)
 
static uint64_t totalBytes ()
 
static uint64_t usedBytes ()
 
static uint64_t freeBytes ()
 
static const char * FilesystemName ()
 
static bool format (ESP3DOutput *output=nullptr)
 
static ESP_SDFile open (const char *path, uint8_t mode=ESP_FILE_READ)
 
static bool exists (const char *path)
 
static bool remove (const char *path)
 
static bool mkdir (const char *path)
 
static bool rmdir (const char *path)
 
static bool rename (const char *oldpath, const char *newpath)
 
static void closeAll ()
 
static uint8_t getSPISpeedDivider ()
 
static bool setSPISpeedDivider (uint8_t speeddivider)
 

Detailed Description

Definition at line 65 of file esp_sd.h.

Constructor & Destructor Documentation

◆ ESP_SD()

ESP_SD::ESP_SD ( )

Definition at line 53 of file esp_sd.cpp.

◆ ~ESP_SD()

ESP_SD::~ESP_SD ( )

Definition at line 58 of file esp_sd.cpp.

Member Function Documentation

◆ begin()

static bool ESP_SD::begin ( )
static
Here is the caller graph for this function:

◆ closeAll()

static void ESP_SD::closeAll ( )
static
Here is the caller graph for this function:

◆ end()

static void ESP_SD::end ( )
static
Here is the caller graph for this function:

◆ exists()

static bool ESP_SD::exists ( const char *  path)
static
Here is the caller graph for this function:

◆ FilesystemName()

static const char* ESP_SD::FilesystemName ( )
static
Here is the caller graph for this function:

◆ format()

static bool ESP_SD::format ( ESP3DOutput output = nullptr)
static
Here is the caller graph for this function:

◆ formatBytes()

String & ESP_SD::formatBytes ( uint64_t  bytes)
static

Definition at line 68 of file esp_sd.cpp.

Here is the caller graph for this function:

◆ freeBytes()

static uint64_t ESP_SD::freeBytes ( )
static
Here is the caller graph for this function:

◆ getSPISpeedDivider()

static uint8_t ESP_SD::getSPISpeedDivider ( )
inlinestatic

Definition at line 88 of file esp_sd.h.

◆ getState()

static uint8_t ESP_SD::getState ( bool  refresh)
static
Here is the caller graph for this function:

◆ handle()

void ESP_SD::handle ( )
static

Definition at line 62 of file esp_sd.cpp.

Here is the caller graph for this function:

◆ mkdir()

static bool ESP_SD::mkdir ( const char *  path)
static
Here is the caller graph for this function:

◆ open()

static ESP_SDFile ESP_SD::open ( const char *  path,
uint8_t  mode = ESP_FILE_READ 
)
static
Here is the caller graph for this function:

◆ remove()

static bool ESP_SD::remove ( const char *  path)
static
Here is the caller graph for this function:

◆ rename()

static bool ESP_SD::rename ( const char *  oldpath,
const char *  newpath 
)
static
Here is the caller graph for this function:

◆ rmdir()

static bool ESP_SD::rmdir ( const char *  path)
static
Here is the caller graph for this function:

◆ setSPISpeedDivider()

bool ESP_SD::setSPISpeedDivider ( uint8_t  speeddivider)
static

Definition at line 202 of file esp_sd.cpp.

Here is the caller graph for this function:

◆ setState()

uint8_t ESP_SD::setState ( uint8_t  state)
static

Definition at line 45 of file esp_sd.cpp.

◆ totalBytes()

static uint64_t ESP_SD::totalBytes ( )
static
Here is the caller graph for this function:

◆ usedBytes()

static uint64_t ESP_SD::usedBytes ( )
static
Here is the caller graph for this function:

The documentation for this class was generated from the following files: