30#define FATFS_DEBUG_SEND_USART(x)
36DSTATUS disk_initialize(BYTE pdrv);
37DSTATUS disk_status(BYTE pdrv);
38DRESULT disk_read(BYTE pdrv, BYTE* buff, DWORD sector, UINT count);
39DRESULT disk_write(BYTE pdrv,
const BYTE* buff, DWORD sector, UINT count);
40DRESULT disk_ioctl(BYTE pdrv, BYTE cmd,
void* buff);
43#define STA_NOINIT 0x01
44#define STA_NODISK 0x02
45#define STA_PROTECT 0x04
50#define GET_SECTOR_COUNT 1
51#define GET_SECTOR_SIZE 2
52#define GET_BLOCK_SIZE 3
53#define CTRL_ERASE_SECTOR 4
62#define MMC_GET_TYPE 10
66#define MMC_GET_SDSTAT 14
70#define ATA_GET_MODEL 21
77#define CT_SDC (CT_SD1 | CT_SD2)