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 54 #define CTRL_ERASE_SECTOR 4 62 #define MMC_GET_TYPE 10 63 #define MMC_GET_CSD 11 64 #define MMC_GET_CID 12 65 #define MMC_GET_OCR 13 66 #define MMC_GET_SDSTAT 14 69 #define ATA_GET_REV 20 70 #define ATA_GET_MODEL 21 74 #define NAND_FORMAT 30 DRESULT disk_write(BYTE, const BYTE *, DWORD, BYTE)
Write sector(s).
DSTATUS disk_status(BYTE)
Return disk status.
DRESULT disk_read(BYTE, BYTE *, DWORD, BYTE)
Read sector(s).
int assign_drives(int, int)
DRESULT disk_ioctl(BYTE, BYTE, void *)
Miscellaneous functions, which support the following commands:
DSTATUS disk_initialize(BYTE)
Initialize a disk.