|
Arduino FatFS
|
template class which expects a Stream class which provides the following additional methods More...
#include <StreamIO.h>


Public Member Functions | |
| StreamIO (T &ref) | |
| DSTATUS | disk_initialize (BYTE pdrv) |
| DSTATUS | disk_status (BYTE pdrv) |
| DRESULT | disk_read (BYTE pdrv, BYTE *buff, LBA_t sector, UINT sectorCount) |
| DRESULT | disk_write (BYTE pdrv, const BYTE *buff, LBA_t sector, UINT sectorCount) |
| DRESULT | disk_ioctl (BYTE pdrv, ioctl_cmd_t cmd, void *buff) |
| virtual FRESULT | mount (FatFs &fs) |
| mount the file system | |
| virtual FRESULT | un_mount (FatFs &fs) |
| unmount the file system | |
Public Attributes | |
| FATFS | fatfs |
Protected Attributes | |
| T * | p_stream = nullptr |
| bool | ok = false |
| int | sector_size = 512 |
| DSTATUS | status = STA_NOINIT |
template class which expects a Stream class which provides the following additional methods