Variables | |
| NUTDEVICE | devSpiMmcGpio |
| Multimedia card device information structure. | |
| NUTSPINODE | nodeSpiMmcGpio |
| NPL SPI node implementation structure for MMC. | |
| NUTDEVICE | devSpiMmcGpio |
| Multimedia card device information structure. | |
Multimedia card device information structure.
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("MMC0:", _O_RDWR | _O_BINARY); /endverbatim to mount the first active primary partition with any previously registered file system driver (typically devPhat0).
{
NULL,
NULL,
SPI_MMC_CLK,
SPI_MODE_0,
8,
SPI_MMC_CS
}
NPL SPI node implementation structure for MMC.
{
0,
{'M', 'M', 'C', '0', 0, 0, 0, 0, 0}
,
0,
0,
0,
&nodeSpiMmcGpio,
&mcsSpiMmcGpio,
SpiMmcGpioInit,
SpiMmcIOCtl,
SpiMmcBlockRead,
SpiMmcBlockWrite,
SpiMmcBlockWrite_P,
SpiMmcMount,
SpiMmcUnmount,
0
}
Multimedia card device information structure.
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("MMC0:", _O_RDWR | _O_BINARY); /endverbatim to mount the first active primary partition with any previously registered file system driver (typically devPhat0).