File nut/dev/nplmmc.c

References Functions: MmCardBlockRead() nut/dev/mmcard.c
  MmCardBlockWrite() nut/dev/mmcard.c
  MmCardBlockWrite_P() nut/dev/mmcard.c
  MmCardIOCtl() nut/dev/mmcard.c
  MmCardMount() nut/dev/mmcard.c
  MmCardUnmount() nut/dev/mmcard.c
  NplMmCard0Avail() nut/dev/nplmmc.c
  NplMmCard0Init() nut/dev/nplmmc.c
  NplMmCard0Io() nut/dev/nplmmc.c
  NplMmCard0Select() nut/dev/nplmmc.c
  NplMmCard0WrProt() nut/dev/nplmmc.c
  NplMmcIfcInit() nut/dev/nplmmc.c
References Variables: mmc0_dcb nut/dev/nplmmc.c
  mmc0_ifc nut/dev/nplmmc.c

Included Files


Preprocessor definitions

#define NPL_MMC_CLOCK 12500000

#define I2C_SLA_PLL 0x69


Typedef MMCDCB

typedef struct _MMCDCB MMCDCB
struct _MMCDCB  
   {  
      int dcb_avail;  
      int dcb_changed;  
   }  

Global Variable devNplMmc0

NUTDEVICE devNplMmc0
Visible in:   nut/dev/nplmmc.c

Local Variables

mmc0_dcb
static MMCDCB mmc0_dcb
Used in:   nut/dev/nplmmc.c
  NplMmCard0Avail()  
  NplMmCard0Init()  
  NplMmCard0InsIrq()  
  NplMmCard0RemIrq()  

mmc0_ifc
static MMCIFC mmc0_ifc

Used in:   nut/dev/nplmmc.c

Global Function NplMmCard0Avail()

int NplMmCard0Avail ( void )
Used in:   nut/dev/nplmmc.c
References Variables: mmc0_dcb nut/dev/nplmmc.c

Global Function NplMmCard0WrProt()

int NplMmCard0WrProt ( void )
Used in:   nut/dev/nplmmc.c

Local Function NplMmCard0Init()

static int NplMmCard0Init ( void )
Used in:   nut/dev/nplmmc.c
References Variables: mmc0_dcb nut/dev/nplmmc.c

Local Function NplMmCard0InsIrq()

static void NplMmCard0InsIrq ( void* arg )
Calls: NplIrqDisable() nut/dev/npl.c
  NplIrqEnable() nut/dev/npl.c
Used in: NplMmcIfcInit() nut/dev/nplmmc.c
References Variables: mmc0_dcb nut/dev/nplmmc.c

Local Function NplMmCard0Io()

static uint8_t NplMmCard0Io ( uint8_t val )
Used in:   nut/dev/nplmmc.c

Local Function NplMmCard0RemIrq()

static void NplMmCard0RemIrq ( void* arg )
Calls: NplIrqDisable() nut/dev/npl.c
  NplIrqEnable() nut/dev/npl.c
Used in: NplMmcIfcInit() nut/dev/nplmmc.c
References Variables: mmc0_dcb nut/dev/nplmmc.c

Local Function NplMmCard0Select()

static int NplMmCard0Select ( int on )
Called by: NplMmcIfcInit() nut/dev/nplmmc.c
Used in:   nut/dev/nplmmc.c

Local Function NplMmcIfcInit()

static int NplMmcIfcInit ( NUTDEVICE* dev )
Calls: MmCardDevInit() nut/dev/mmcard.c
  NplIrqEnable() nut/dev/npl.c
  NplMmCard0Select() nut/dev/nplmmc.c
  NplRegisterIrqHandler() nut/dev/npl.c
Used in:   nut/dev/nplmmc.c
References Functions: NplMmCard0InsIrq() nut/dev/nplmmc.c
  NplMmCard0RemIrq() nut/dev/nplmmc.c