Go to the source code of this file.
Definition at line 49 of file xd.h.
Definition at line 50 of file xd.h.
#define BLK_NOT_FOUND 0xFFFFFFFF |
Definition at line 98 of file xd.h.
Definition at line 153 of file xd.h.
Definition at line 152 of file xd.h.
Definition at line 155 of file xd.h.
Definition at line 154 of file xd.h.
Definition at line 151 of file xd.h.
Definition at line 63 of file xd.h.
#define CHG_DAT_IN_1 0x85 |
Definition at line 62 of file xd.h.
#define CHG_DAT_OUT_1 0x05 |
Definition at line 57 of file xd.h.
#define CHG_DAT_OUT_2 0xE0 |
Definition at line 61 of file xd.h.
#define CHG_DAT_OUT_2 0xE0 |
Definition at line 61 of file xd.h.
Definition at line 163 of file xd.h.
Definition at line 164 of file xd.h.
Definition at line 165 of file xd.h.
Definition at line 166 of file xd.h.
Definition at line 167 of file xd.h.
Definition at line 168 of file xd.h.
Definition at line 169 of file xd.h.
Definition at line 170 of file xd.h.
Definition at line 171 of file xd.h.
Definition at line 172 of file xd.h.
Definition at line 173 of file xd.h.
Definition at line 174 of file xd.h.
Definition at line 175 of file xd.h.
Definition at line 176 of file xd.h.
Definition at line 177 of file xd.h.
Definition at line 178 of file xd.h.
Definition at line 179 of file xd.h.
Definition at line 180 of file xd.h.
Definition at line 181 of file xd.h.
Definition at line 182 of file xd.h.
Definition at line 96 of file xd.h.
#define COPY_BACK_2K 0x85 |
Definition at line 54 of file xd.h.
#define COPY_BACK_512 0x8A |
Definition at line 53 of file xd.h.
#define INTERNAL_READY 0x20 |
Definition at line 74 of file xd.h.
#define NO_NEW_BLK 0xFFFFFFFF |
Definition at line 100 of file xd.h.
Definition at line 105 of file xd.h.
#define NOT_WRITE_PROTECTED 0x80 |
Definition at line 70 of file xd.h.
#define NOT_ZONE0_BAD_BLOCK 24 |
Definition at line 112 of file xd.h.
#define PAGE_CORRECTABLE 0x0 |
Definition at line 102 of file xd.h.
#define PAGE_NOTCORRECTABLE 0x1 |
Definition at line 103 of file xd.h.
Definition at line 47 of file xd.h.
Definition at line 48 of file xd.h.
Definition at line 150 of file xd.h.
Definition at line 160 of file xd.h.
#define PROGRAM_ERROR 0x01 |
Definition at line 72 of file xd.h.
#define PROGRAM_ERROR_N_1 0x02 |
Definition at line 73 of file xd.h.
#define RDM_DAT_OUT_1 0x05 |
Definition at line 58 of file xd.h.
#define RDM_DAT_OUT_2 0xE0 |
Definition at line 60 of file xd.h.
Definition at line 42 of file xd.h.
Definition at line 55 of file xd.h.
Definition at line 56 of file xd.h.
Definition at line 43 of file xd.h.
Definition at line 44 of file xd.h.
Definition at line 45 of file xd.h.
Definition at line 51 of file xd.h.
Definition at line 52 of file xd.h.
Definition at line 75 of file xd.h.
Definition at line 71 of file xd.h.
Definition at line 156 of file xd.h.
Definition at line 157 of file xd.h.
Definition at line 158 of file xd.h.
Definition at line 159 of file xd.h.
Definition at line 46 of file xd.h.
Definition at line 108 of file xd.h.
#define VENDOR_BLOCK 0xEFFF |
Definition at line 95 of file xd.h.
Definition at line 106 of file xd.h.
#define XD_128M_X16_2048 0xC1 |
Definition at line 87 of file xd.h.
#define XD_128M_X8_2048 0xF1 |
Definition at line 84 of file xd.h.
#define XD_128M_X8_512 0x79 |
Definition at line 82 of file xd.h.
#define XD_16M_X8_512 0x73 |
Definition at line 79 of file xd.h.
#define xD_1G_X8_512 0xD3 |
Definition at line 90 of file xd.h.
#define XD_256M_X8_2048 0xDA |
Definition at line 85 of file xd.h.
#define XD_256M_X8_512 0x71 |
Definition at line 83 of file xd.h.
#define xD_2G_X8_512 0xD5 |
Definition at line 91 of file xd.h.
#define XD_2K_EXTRA_SIZE 0x40 |
Definition at line 67 of file xd.h.
#define XD_32M_X8_512 0x75 |
Definition at line 80 of file xd.h.
#define XD_4M_X8_512_1 0xE3 |
Definition at line 88 of file xd.h.
#define XD_4M_X8_512_2 0xE5 |
Definition at line 89 of file xd.h.
Definition at line 86 of file xd.h.
#define XD_64M_X8_512 0x76 |
Definition at line 81 of file xd.h.
#define XD_8M_X8_512 0xE6 |
Definition at line 78 of file xd.h.
#define XD_ADDR_MODE_2C XD_ADDR_MODE_2A |
Definition at line 109 of file xd.h.
#define XD_CHK_4MB |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x10) |
Definition at line 143 of file xd.h.
#define XD_CHK_BAD_NEWBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x01) |
Definition at line 127 of file xd.h.
#define XD_CHK_BAD_OLDBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x02) |
Definition at line 131 of file xd.h.
#define XD_CHK_ECC_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x40) |
Definition at line 147 of file xd.h.
#define XD_CHK_ECC_FLD_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x08) |
Definition at line 139 of file xd.h.
#define XD_CHK_MBR_FAIL |
( |
|
xd_card | ) |
((xd_card)->multi_flag & 0x04) |
Definition at line 135 of file xd.h.
#define XD_CLR_4MB |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x10) |
Definition at line 142 of file xd.h.
#define XD_CLR_BAD_NEWBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x01) |
Definition at line 126 of file xd.h.
#define XD_CLR_BAD_OLDBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x02) |
Definition at line 130 of file xd.h.
#define XD_CLR_ECC_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x40) |
Definition at line 146 of file xd.h.
#define XD_CLR_ECC_FLD_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x08) |
Definition at line 138 of file xd.h.
#define XD_CLR_MBR_FAIL |
( |
|
xd_card | ) |
((xd_card)->multi_flag &= ~0x04) |
Definition at line 134 of file xd.h.
#define XD_ECC_ERROR 0x02 |
Definition at line 38 of file xd.h.
#define XD_ERASE_ADDR 0x02 |
Definition at line 116 of file xd.h.
#define XD_ERASE_FAIL 0x08 |
Definition at line 36 of file xd.h.
#define XD_EXTRA_SIZE 0x10 |
Definition at line 66 of file xd.h.
Definition at line 93 of file xd.h.
Definition at line 34 of file xd.h.
Definition at line 31 of file xd.h.
#define XD_NO_MEMORY 0x80 |
Definition at line 32 of file xd.h.
#define XD_PAGE_512 |
( |
|
xd_card | ) |
|
Value:do { \
(xd_card)->block_shift = 5; \
(xd_card)->page_off = 0x1F; \
} while (0)
Definition at line 119 of file xd.h.
#define XD_PRG_ERROR 0x40 |
Definition at line 33 of file xd.h.
#define XD_READ_FAIL 0x10 |
Definition at line 35 of file xd.h.
Definition at line 115 of file xd.h.
#define XD_SET_4MB |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x10) |
Definition at line 141 of file xd.h.
#define XD_SET_BAD_NEWBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x01) |
Definition at line 125 of file xd.h.
#define XD_SET_BAD_OLDBLK |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x02) |
Definition at line 129 of file xd.h.
#define XD_SET_ECC_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x40) |
Definition at line 145 of file xd.h.
#define XD_SET_ECC_FLD_ERR |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x08) |
Definition at line 137 of file xd.h.
#define XD_SET_MBR_FAIL |
( |
|
xd_card | ) |
((xd_card)->multi_flag |= 0x04) |
Definition at line 133 of file xd.h.
Definition at line 39 of file xd.h.
#define XD_WRITE_FAIL 0x04 |
Definition at line 37 of file xd.h.
#define ZONE0_BAD_BLOCK 23 |
Definition at line 111 of file xd.h.
Definition at line 908 of file xd.c.