ESP32 Virtual File System for SPI SD. The default mount point is "/sdcard" DRAFT implementation: not tested See https://github.com/espressif/esp-idf/tree/master/examples/storage/sd_card/sdspi.
More...
#include <VFS_SDSPI.h>
|
| | VFS_SDSPI (const char *mountPoint="/sd") |
| |
| | VFS_SDSPI (int CS, int MOSI, int MISO, int SCK, const char *mountPoint="/sd") |
| |
| bool | begin () |
| | mount the file systems
|
| |
| void | end () |
| | unmount the file system
|
| |
| bool | exists (const char *path) |
| |
| bool | exists (const std::string &path) |
| |
| bool | mkdir (const char *path) |
| |
| bool | mkdir (const std::string &path) |
| |
| const char * | mountPoint () |
| | provides the actual mount point
|
| |
| VFSFile | open (const char *file, FileMode mode=VFS_FILE_READ) |
| |
| VFSFile | open (const std::string &path, FileMode mode=VFS_FILE_READ) |
| |
| bool | remove (const char *path) |
| |
| bool | remove (const std::string &path) |
| |
| bool | rename (const char *pathFrom, const char *pathTo) |
| |
| bool | rename (const std::string &pathFrom, const std::string &pathTo) |
| |
| bool | rmdir (const char *path) |
| |
| bool | rmdir (const std::string &path) |
| |
| void | setAllocationUnitSize (int size) |
| |
| void | setClk (int pin) |
| |
| void | setCS (int pin) |
| |
| void | setFormatIfMountFailed (bool format) |
| |
| void | setMaxFiles (int files) |
| |
| void | setMiso (int pin) |
| |
| void | setMosi (int pin) |
| |
| void | setMountPoint (const char *mp) |
| | provide the mount point (root directory for the file system)
|
| |
| void | setPins (int CS, int MOSI, int MISO, int SCK) |
| |
ESP32 Virtual File System for SPI SD. The default mount point is "/sdcard" DRAFT implementation: not tested See https://github.com/espressif/esp-idf/tree/master/examples/storage/sd_card/sdspi.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ VFS_SDSPI() [1/2]
◆ VFS_SDSPI() [2/2]
◆ begin()
mount the file systems
Reimplemented from VFS.
◆ end()
unmount the file system
Reimplemented from VFS.
◆ exists() [1/2]
◆ exists() [2/2]
◆ expand()
expands the file name with the mount point
◆ mkdir() [1/2]
◆ mkdir() [2/2]
◆ mountPoint()
provides the actual mount point
◆ open() [1/2]
◆ open() [2/2]
◆ remove() [1/2]
◆ remove() [2/2]
◆ rename() [1/2]
◆ rename() [2/2]
| bool rename |
( |
const std::string & |
pathFrom, |
|
|
const std::string & |
pathTo |
|
) |
| |
|
inlineinherited |
◆ rmdir() [1/2]
◆ rmdir() [2/2]
◆ setAllocationUnitSize()
| void setAllocationUnitSize |
( |
int |
size | ) |
|
|
inline |
◆ setClk()
◆ setCS()
◆ setFormatIfMountFailed()
| void setFormatIfMountFailed |
( |
bool |
format | ) |
|
|
inline |
◆ setMaxFiles()
◆ setMiso()
◆ setMosi()
◆ setMountPoint()
provide the mount point (root directory for the file system)
Reimplemented from VFS.
◆ setPins()
◆ allocation_unit_size
| int allocation_unit_size = 16 * 1024 |
|
protected |
◆ card
◆ format_if_mount_failed
◆ host
◆ max_files
◆ max_transfer_sz
| int max_transfer_sz = 4000 |
|
protected |
◆ mount_point
◆ pin_clk
◆ pin_cs
◆ pin_miso
◆ pin_mosi
◆ pwr_ctrl_handle
◆ tmp
The documentation for this class was generated from the following file: