ff_diskio_impl_t struct
Structure of pointers to disk IO driver functions. See FatFs documentation for details about these functions
Syntax
typedef struct
{
DSTATUS (*init) (unsigned char pdrv);
DSTATUS (*status) (unsigned char pdrv);
DRESULT (*read) (unsigned char pdrv, unsigned char* buff, uint32_t sector, unsigned count);
DRESULT (*write) (unsigned char pdrv, const unsigned char* buff, uint32_t sector, unsigned count);
DRESULT (*ioctl) (unsigned char pdrv, unsigned char cmd, void* buff);
} ff_diskio_impl_t;
Fields
disk initialization function.
disk status check function.
DRESULT (*) (unsigned char pdrv, unsigned char* buff, uint32_t sector, unsigned count) sector read function.
DRESULT (*) (unsigned char pdrv, const unsigned char* buff, uint32_t sector, unsigned count) sector write function.
DRESULT (*) (unsigned char pdrv, unsigned char cmd, void* buff) function to get info about disk and do some misc operations.
![]()
typedef struct {
ff_diskio_impl_t is allocated by 1 symbol and is freed by 1 symbol:
![]()
ff_diskio_impl_t