29 #ifndef __FF_GEN_DRV_H 30 #define __FF_GEN_DRV_H Disk IO Driver structure definition.
uint8_t FATFS_UnLinkDriverEx(char *path, BYTE lun)
DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
Writes Sector(s)
uint8_t FATFS_GetAttachedDriversNbr(void)
Gets number of linked drivers to the FatFs module.
DSTATUS disk_status(BYTE pdrv)
Gets Disk Status.
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
I/O control operation.
Global Disk IO Drivers structure definition.
uint8_t FATFS_LinkDriver(Diskio_drvTypeDef *drv, char *path)
Links a compatible diskio driver and increments the number of active linked drivers.
DSTATUS disk_initialize(BYTE pdrv)
Initializes a Drive.
uint8_t FATFS_UnLinkDriver(char *path)
Unlinks a diskio driver and decrements the number of active linked drivers.
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
Reads Sector(s)
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...