5 #ifndef _DISKIO_DEFINED 6 #define _DISKIO_DEFINED 42 #define STA_NOINIT 0x01 43 #define STA_NODISK 0x02 44 #define STA_PROTECT 0x04 51 #define GET_SECTOR_COUNT 1 52 #define GET_SECTOR_SIZE 2 53 #define GET_BLOCK_SIZE 3 63 #define MMC_GET_TYPE 10 64 #define MMC_GET_CSD 11 65 #define MMC_GET_CID 12 66 #define MMC_GET_OCR 13 67 #define MMC_GET_SDSTAT 14 69 #define ISDIO_WRITE 56 70 #define ISDIO_MRITE 57 73 #define ATA_GET_REV 20 74 #define ATA_GET_MODEL 21
DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
DSTATUS disk_status(BYTE pdrv)
DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
DSTATUS disk_initialize(BYTE pdrv)
DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)