|
arduino-audio-tools
|
Arduino SD API for Zephyr. More...
#include <ZephyrSD.h>
Public Member Functions | |
| ZephyrSDClass ()=default | |
| ~ZephyrSDClass () | |
| bool | begin (const char *diskName, fs_mount_t mountInfo) |
| bool | begin (const char *diskName="SD", const char *mountPoint="/SD") |
| void | end () |
| bool | exists (const char *path) const |
| size_t | fileSize (const char *path) const |
| bool | isDirectory (const char *path) |
| bool | isMounted () const |
| bool | mkdir (const char *path) |
| fs_mount_t & | mountInfo () |
| const char * | mountPoint () |
| ZephyrFile | open (const char *path, const char *mode="r", bool create=false) |
| ZephyrFile | open (const char *path, fs_mode_t mode) |
| bool | remove (const char *path) |
| bool | rename (const char *from, const char *to) |
| bool | rmdir (const char *path) |
Protected Member Functions | |
| bool | logErr (int ret, const char *op, const char *a, const char *b) |
| bool | logErr (int ret, const char *op, const char *path) |
| bool | mountSD () |
| fs_mode_t | parseMode (const char *mode, bool create) |
| void | unmountSD () |
Protected Attributes | |
| std::string | disk_name |
| bool | mounted = false |
| fs_mount_t | mp |
Arduino SD API for Zephyr.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
protected |
|
protected |