Data Structures | |
| struct | _MCIFC |
| Local card interface information. More... | |
| struct | _MCIFCB |
| Local multimedia card mount information. More... | |
Defines | |
| #define | MMC_BLOCK_SIZE 512 |
| #define | MMC_PINS_A _BV(PA8_MCCK_A) |
| #define | MMC_PINS_B _BV(PA1_MCCDB_B) | _BV(PA0_MCDB0_B) | _BV(PA5_MCDB1_B) | _BV(PA4_MCDB2_B) | _BV(PA3_MCDB3_B) |
Typedefs | |
| typedef _MCIFC | MCIFC |
| Local card interface information. | |
| typedef _MCIFCB | MCIFCB |
| Local multimedia card mount information. | |
Variables | |
| NUTDEVICE | devAt91Mci0 |
| Multimedia card device information structure. | |
|
|
Initial value: {
0,
{'M', 'C', 'I', '0', 0, 0, 0, 0, 0}
,
0,
0,
0,
&mci0_info,
0,
At91MciInit,
At91MciIOCtrl,
At91MciBlockRead,
At91MciBlockWrite,
At91MciMount,
At91MciUnmount,
0
}
A pointer to this structure must be passed to NutRegisterDevice() to bind this driver to the Nut/OS kernel. An application may then call /verbatim _open("MCI0:", _O_RDWR | _O_BINARY); /endverbatim to mount the first active primary partition with any previously registered file system driver (typically devPhat0). |