ESP32 Virtual File System for SDMMC. The default mount point is "/sdcard" DRAFT implementation: not tested see https://github.com/espressif/esp-idf/blob/master/examples/storage/sd_card/sdmmc/README.md.
More...
#include <VFS_SDMMC.h>
|
| | VFS_SDMMC (const char *mountPoint="/sdmmc") |
| |
| | VFS_SDMMC (int pinClk, int pinCmd, int pinD0, int pinD1, int pinD2=-1, int pinD3=-1, const char *mountPoint="/sdmmc") |
| |
| 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 | setBusWidth (BusWidth bits) |
| |
| void | setClk (int pin) |
| |
| void | setCmd (int pin) |
| |
| void | setD0 (int pin) |
| |
| void | setD1 (int pin) |
| |
| void | setD2 (int pin) |
| |
| void | setD3 (int pin) |
| |
| void | setMountPoint (const char *mp) |
| | provide the mount point (root directory for the file system)
|
| |
| void | setPins (int pinClk, int pinCmd, int pinD0, int pinD1, int pinD2=-1, int pinD3=-1) |
| |
| void | setSpeed (Speed speed) |
| |
ESP32 Virtual File System for SDMMC. The default mount point is "/sdcard" DRAFT implementation: not tested see https://github.com/espressif/esp-idf/blob/master/examples/storage/sd_card/sdmmc/README.md.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ BusWidth
◆ Speed
| Enumerator |
|---|
| HS | |
| UHS_SDR | |
| UHS_DDR | |
◆ VFS_SDMMC() [1/2]
◆ VFS_SDMMC() [2/2]
◆ begin()
mount the file systems
< SD High speed (limited by clock divider)
< MMC 100MHz speed
< MMC 50MHz speed
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]
◆ setBusWidth()
◆ setClk()
◆ setCmd()
◆ setD0()
◆ setD1()
◆ setD2()
◆ setD3()
◆ setMountPoint()
provide the mount point (root directory for the file system)
Reimplemented from VFS.
◆ setPins()
◆ setSpeed()
◆ allocation_unit_size
| size_t allocation_unit_size = 16 * 1024 |
|
protected |
◆ bus_width
◆ card
◆ host
◆ max_files
◆ mount_point
◆ pin_clk
◆ pin_cmd
◆ pin_d0
◆ pin_d1
◆ pin_d2
◆ pin_d3
◆ pwr_ctrl_handle
◆ speed
◆ tmp
The documentation for this class was generated from the following file: