![]() |
Defines | |
#define | MMC_DEV_NAME {'M', 'M', 'C', '0', 0, 0, 0, 0, 0} |
#define | MMC_DEV_NAME {'M', 'M', 'C', '1', 0, 0, 0, 0, 0} |
#define | MMC_DEV_NAME {'M', 'M', 'C', '2', 0, 0, 0, 0, 0} |
#define | MMC_DEV_NAME {'M', 'M', 'C', '3', 0, 0, 0, 0, 0} |
#define | MMC_CLK_LO() |
#define | MMC_CLK_HI() |
#define | MMC_CLK_EN() |
#define | MMC_CLK_SO() |
#define | MMC_MOSI_LO() |
#define | MMC_MOSI_HI() |
#define | MMC_MOSI_EN() |
#define | MMC_MOSI_SO() |
#define | MMC_MISO_TEST() (1) |
#define | MMC_MISO_EN() |
#define | MMC_MISO_SI() |
#define | MMC_CS_LO() |
#define | MMC_CS_HI() |
#define | MMC_CS_IS() (1) |
#define | MMC_CS_EN() |
#define | MMC_CS_SO() |
Variables | |
NUTDEVICE | devSbi0MmCard0 |
NUTDEVICE | devSbi0MmCard1 |
NUTDEVICE | devSbi1MmCard0 |
NUTDEVICE | devSbi1MmCard1 |
NUTDEVICE | devSbiMmCard |
Multimedia card device information structure. |
Low level MMC hardware routines for SPI emulation by software (bit banging).
These routines support SPI mode only and are required by the basic MMC driver.
* $Id: sbi0mmc0.c,v 1.1 2008/10/23 08:52:20 haraldkipp Exp $ *
Low level MMC hardware routines for SPI emulation by software (bit banging).
These routines support SPI mode only and are required by the basic MMC driver.
* $Id: sbi0mmc1.c,v 1.1 2008/10/23 08:52:20 haraldkipp Exp $ *
Low level MMC hardware routines for SPI emulation by software (bit banging).
These routines support SPI mode only and are required by the basic MMC driver.
* $Id: sbi1mmc0.c,v 1.1 2008/10/23 08:52:20 haraldkipp Exp $ *
Low level MMC hardware routines for SPI emulation by software (bit banging).
These routines support SPI mode only and are required by the basic MMC driver.
* $Id: sbi1mmc1.c,v 1.1 2008/10/23 08:52:20 haraldkipp Exp $ *
Low level MMC hardware routines for SPI emulation by software (bit banging).
These routines support SPI mode only and are required by the basic MMC driver.
* $Id: sbi_mmc.c,v 1.3 2009/02/17 09:30:01 haraldkipp Exp $ *
#define MMC_DEV_NAME {'M', 'M', 'C', '0', 0, 0, 0, 0, 0} |
Definition at line 111 of file sbi0mmc0.c.
#define MMC_DEV_NAME {'M', 'M', 'C', '1', 0, 0, 0, 0, 0} |
Definition at line 111 of file sbi0mmc1.c.
#define MMC_DEV_NAME {'M', 'M', 'C', '2', 0, 0, 0, 0, 0} |
Definition at line 111 of file sbi1mmc0.c.
#define MMC_DEV_NAME {'M', 'M', 'C', '3', 0, 0, 0, 0, 0} |
Definition at line 111 of file sbi1mmc1.c.
Initial value:
{ 0, MMC_DEV_NAME, 0, 0, 0, &mmc_ifc, &mmc_dcb, SbiMmcIfcInit, MmCardIOCtl, MmCardBlockRead, MmCardBlockWrite, MmCardBlockWrite_P, MmCardMount, MmCardUnmount, 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("MMC0:", _O_RDWR | _O_BINARY); /endverbatim to mount the first active primary partition with any previously registered file system driver (typically devPhat0).