diff options
author | Leo C | 2016-09-08 19:15:27 +0200 |
---|---|---|
committer | Leo C | 2016-09-08 19:15:27 +0200 |
commit | 70702af1370e44e32fb2c3c507e4759a187b4fe5 (patch) | |
tree | 5b75a408efadf5fccd8d5d481e91cce73a86897b /fatfs/src/diskio.h | |
parent | 7b78a5a287827db9e9b16286f3604aef69b37c5c (diff) | |
download | z180-stamp-fatfs-0.12b.zip |
Import fatfs R0.12bfatfs-0.12b
Diffstat (limited to 'fatfs/src/diskio.h')
-rw-r--r-- | fatfs/src/diskio.h | 6 |
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 */
|