Go to the documentation of this file.
5 #ifndef _DISKIO_DEFINED
6 #define _DISKIO_DEFINED
45 #define STA_NOINIT 0x01
46 #define STA_NODISK 0x02
47 #define STA_PROTECT 0x04
54 #define GET_SECTOR_COUNT 1
55 #define GET_SECTOR_SIZE 2
56 #define GET_BLOCK_SIZE 3
57 #define CTRL_ERASE_SECTOR 4
66 #define MMC_GET_TYPE 10
67 #define MMC_GET_CSD 11
68 #define MMC_GET_CID 12
69 #define MMC_GET_OCR 13
70 #define MMC_GET_SDSTAT 14
73 #define ATA_GET_REV 20
74 #define ATA_GET_MODEL 21
82 #define CT_SDC (CT_SD1|CT_SD2)