Arduino FatFS
Public Member Functions | Public Attributes | Protected Attributes | List of all members
fatfs::StreamIO< T > Class Template Reference
Main » IO

template class which expects a Stream class which provides the following additional methods More...

#include <StreamIO.h>

Inheritance diagram for fatfs::StreamIO< T >:
Inheritance graph
[legend]
Collaboration diagram for fatfs::StreamIO< T >:
Collaboration graph
[legend]

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
 

Detailed Description

template<class T>
class fatfs::StreamIO< T >

template class which expects a Stream class which provides the following additional methods


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