Prusa MINI Firmware overview
Diskio_drvTypeDef Struct Reference

Disk IO Driver structure definition. More...

#include <ff_gen_drv.h>

Collaboration diagram for Diskio_drvTypeDef:

Public Attributes

DSTATUS(* disk_initialize )(BYTE)
 
DSTATUS(* disk_status )(BYTE)
 
DRESULT(* disk_read )(BYTE, BYTE *, DWORD, UINT)
 
DRESULT(* disk_write )(BYTE, const BYTE *, DWORD, UINT)
 
DRESULT(* disk_ioctl )(BYTE, BYTE, void *)
 

Detailed Description

Disk IO Driver structure definition.

Member Data Documentation

◆ disk_initialize

DSTATUS(* Diskio_drvTypeDef::disk_initialize) (BYTE)

Initialize Disk Drive

◆ disk_status

DSTATUS(* Diskio_drvTypeDef::disk_status) (BYTE)

Get Disk Status

◆ disk_read

DRESULT(* Diskio_drvTypeDef::disk_read) (BYTE, BYTE *, DWORD, UINT)

Read Sector(s)

◆ disk_write

DRESULT(* Diskio_drvTypeDef::disk_write) (BYTE, const BYTE *, DWORD, UINT)

Write Sector(s) when _USE_WRITE = 0

◆ disk_ioctl

DRESULT(* Diskio_drvTypeDef::disk_ioctl) (BYTE, BYTE, void *)

I/O control operation when _USE_IOCTL = 1