Support routines for MM/SD Cards. More...
Variables | |
NUTDEVICE | devNplSpiMmc0 |
Multimedia card device information structure. | |
NUTSPINODE | nodeSpiMmc0Npl |
NPL SPI node implementation structure for MMC0. | |
NUTDEVICE | devNplSpiMmc0 |
Multimedia card device information structure. |
Support routines for MM/SD Cards.
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, NPL_MMC_CLOCK, SPI_MODE_0, 8, 0 }
NPL SPI node implementation structure for MMC0.
{ 0, {'M', 'M', 'C', '0', 0, 0, 0, 0, 0} , 0, 0, 0, &nodeSpiMmc0Npl, &mcsSpiMmc0Npl, SpiMmc0NplInit, 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).