Prusa MINI Firmware overview
|
Go to the documentation of this file.
49 #ifndef __FF_GEN_DRV_H
50 #define __FF_GEN_DRV_H
uint8_t FATFS_LinkDriver(const Diskio_drvTypeDef *drv, char *path)
Links a compatible diskio driver and increments the number of active linked drivers.
Definition: ff_gen_drv.c:98
uint8_t is_initialized[_VOLUMES]
Definition: ff_gen_drv.h:86
uint8_t FATFS_LinkDriverEx(const Diskio_drvTypeDef *drv, char *path, BYTE lun)
uint8_t FATFS_LinkDriver(const Diskio_drvTypeDef *drv, char *path)
Links a compatible diskio driver and increments the number of active linked drivers.
Definition: ff_gen_drv.c:98
DSTATUS disk_initialize(BYTE pdrv)
Initializes a Drive.
Definition: diskio.c:91
Global Disk IO Drivers structure definition.
Definition: ff_gen_drv.h:84
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
Reads Sector(s)
Definition: diskio.c:113
uint8_t FATFS_LinkDriverEx(const 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:69
uint8_t FATFS_GetAttachedDriversNbr(void)
Gets number of linked drivers to the FatFs module.
Definition: ff_gen_drv.c:146
uint8_t lun[_VOLUMES]
Definition: ff_gen_drv.h:88
#define _VOLUMES
Definition: ffconf.h:194
uint8_t FATFS_UnLinkDriver(char *path)
Unlinks a diskio driver and decrements the number of active linked drivers.
Definition: ff_gen_drv.c:136
uint8_t FATFS_UnLinkDriverEx(char *path, uint8_t lun)
Unlinks a diskio driver and decrements the number of active linked drivers.
Definition: ff_gen_drv.c:110
#define BYTE
Definition: MarlinSerial.h:142
Disk_drvTypeDef disk
Definition: ff_gen_drv.c:54
Header for ff_gen_drv.c module.
const Diskio_drvTypeDef * drv[_VOLUMES]
Definition: ff_gen_drv.h:87
uint8_t FATFS_UnLinkDriver(char *path)
Unlinks a diskio driver and decrements the number of active linked drivers.
Definition: ff_gen_drv.c:136
DSTATUS disk_status(BYTE pdrv)
Gets Disk Status.
Definition: diskio.c:76
BYTE DSTATUS
Definition: onboard_sd.h:19
DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
Writes Sector(s)
Definition: diskio.c:135
const uint8_t[]
Definition: 404_html.c:3
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
I/O control operation.
Definition: diskio.c:157
unsigned long DWORD
Definition: onboard_sd.h:15
volatile uint8_t nbr
Definition: ff_gen_drv.h:89
unsigned char BYTE
Definition: onboard_sd.h:13
DRESULT
Definition: onboard_sd.h:22
Disk IO Driver structure definition.
Definition: ff_gen_drv.h:67
uint8_t FATFS_GetAttachedDriversNbr(void)
Gets number of linked drivers to the FatFs module.
Definition: ff_gen_drv.c:146
uint8_t FATFS_UnLinkDriverEx(char *path, BYTE lun)
unsigned int UINT
Definition: onboard_sd.h:16