29 #ifndef __FF_GEN_DRV_H 30 #define __FF_GEN_DRV_H DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
Writes Sector(s)
Definition: diskio.c:114
uint32_t UINT
Definition: integer.h:20
Disk IO Driver structure definition.
Definition: ff_gen_drv.h:45
uint8_t FATFS_UnLinkDriverEx(char *path, BYTE lun)
Unlinks a diskio driver and decrements the number of active linked drivers.
Definition: ff_gen_drv.c:90
#define _VOLUMES
Definition: ffconf.h:181
uint32_t DWORD
Definition: integer.h:24
DSTATUS disk_status(BYTE pdrv)
Gets Disk Status.
Definition: diskio.c:55
uint8_t FATFS_GetAttachedDriversNbr(void)
Gets number of linked drivers to the FatFs module.
Definition: ff_gen_drv.c:126
BYTE DSTATUS
Definition: diskio.h:19
DRESULT
Definition: diskio.h:22
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
Reads Sector(s)
Definition: diskio.c:92
uint8_t FATFS_LinkDriver(Diskio_drvTypeDef *drv, char *path)
Links a compatible diskio driver and increments the number of active linked drivers.
Definition: ff_gen_drv.c:78
DSTATUS disk_initialize(BYTE pdrv)
Initializes a Drive.
Definition: diskio.c:70
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
I/O control operation.
Definition: diskio.c:136
Global Disk IO Drivers structure definition.
Definition: ff_gen_drv.h:62
uint8_t BYTE
Definition: integer.h:11
uint8_t FATFS_UnLinkDriver(char *path)
Unlinks a diskio driver and decrements the number of active linked drivers.
Definition: ff_gen_drv.c:116
__IO uint8_t nbr
Definition: ff_gen_drv.h:67
uint8_t FATFS_LinkDriverEx(Diskio_drvTypeDef *drv, char *path, uint8_t lun)
Links a compatible diskio driver/lun id and increments the number of active linked drivers...
Definition: ff_gen_drv.c:49