nplmmc.c File Reference

Go to the source code of this file.

Defines

#define NPL_MMC_CLOCK   12500000
 Low Level Multimedia Card Access.
#define I2C_SLA_PLL   0x69

Functions

int NplMmCard0Avail (void)
 Check if card is available.
int NplMmCard0WrProt (void)
 Check if card is write protected.

Variables

NUTDEVICE devNplMmc0
 Multimedia card device information structure.


Define Documentation

#define NPL_MMC_CLOCK   12500000

Low Level Multimedia Card Access.

Low level MMC hardware routines for the programmable logic provided on the Ethernut 3 reference design.

These routines support SPI mode only and are required by the basic MMC driver.

 *
 * $Log: nplmmc.c,v $
 * Revision 1.3  2006/08/05 12:01:05  haraldkipp
 * Hard coded PLL selections replaced by configurable definitions.
 *
 * Revision 1.2  2006/01/19 18:40:47  haraldkipp
 * MMC clock rate now uses the CY2239x driver routines to calculate a
 * configurable value. Additional NOPs had been added to the SPI I/O,
 * which seems to make the driver more stable.
 *
 * Revision 1.1  2006/01/05 16:31:02  haraldkipp
 * First check-in.
 *
 *
 * 

Definition at line 72 of file nplmmc.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/