summaryrefslogtreecommitdiff
path: root/fatfs/src/diskio.h
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs/src/diskio.h')
-rw-r--r--fatfs/src/diskio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/src/diskio.h b/fatfs/src/diskio.h
index 9650f68..03e8b7c 100644
--- a/fatfs/src/diskio.h
+++ b/fatfs/src/diskio.h
@@ -9,9 +9,6 @@
extern "C" {
#endif
-#define _USE_WRITE 1 /* 1: Enable disk_write function */
-#define _USE_IOCTL 1 /* 1: Enable disk_ioctl fucntion */
-
#include "integer.h"
@@ -67,6 +64,9 @@ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
#define MMC_GET_CID 12 /* Get CID */
#define MMC_GET_OCR 13 /* Get OCR */
#define MMC_GET_SDSTAT 14 /* Get SD status */
+#define ISDIO_READ 55 /* Read data form SD iSDIO register */
+#define ISDIO_WRITE 56 /* Write data to SD iSDIO register */
+#define ISDIO_MRITE 57 /* Masked write data to SD iSDIO register */
/* ATA/CF specific ioctl command */
#define ATA_GET_REV 20 /* Get F/W revision */