File nut/dev/spi_mmc_npl.c

References Functions: NplMmc0Led() nut/dev/spi_mmc_npl.c
  NplMmc0Power() nut/dev/spi_mmc_npl.c
  NplMmc0Reset() nut/dev/spi_mmc_npl.c
  SpiMmc0NplInit() nut/dev/spi_mmc_npl.c
  SpiMmcBlockRead() nut/dev/spi_mmc.c
  SpiMmcBlockWrite() nut/dev/spi_mmc.c
  SpiMmcBlockWrite_P() nut/dev/spi_mmc.c
  SpiMmcIOCtl() nut/dev/spi_mmc.c
  SpiMmcMount() nut/dev/spi_mmc.c
  SpiMmcUnmount() nut/dev/spi_mmc.c
References Variables: mcsSpiMmc0Npl nut/dev/spi_mmc_npl.c
  nodeSpiMmc0Npl nut/dev/spi_mmc_npl.c

Included Files


Preprocessor definitions

#define NPL_MMC_CLOCK 12500000

Global Variable nodeSpiMmc0Npl

NUTSPINODE nodeSpiMmc0Npl
Visible in:   nut/dev/spi_mmc_npl.c
Used in:   nut/dev/spi_mmc_npl.c

Global Variable devNplSpiMmc0

NUTDEVICE devNplSpiMmc0
Visible in:   nut/dev/spi_mmc_npl.c

Local Variables

mcsSpiMmc0Npl
static MEMCARDSUPP mcsSpiMmc0Npl
Used in:   nut/dev/spi_mmc_npl.c

Local Function NplMmc0Insertion()

static void NplMmc0Insertion ( void* arg )
Calls: NplIrqDisable() nut/dev/npl.c
  NplIrqEnable() nut/dev/npl.c
Used in: SpiMmc0NplInit() nut/dev/spi_mmc_npl.c

Local Function NplMmc0Led()

static void NplMmc0Led ( int mode )
Prototyped in: nut/dev/spi_mmc_npl.c
Called by: NplMmc0Reset() nut/dev/spi_mmc_npl.c
Used in:   nut/dev/spi_mmc_npl.c

Local Function NplMmc0Power()

static int NplMmc0Power ( int mode )
Prototyped in: nut/dev/spi_mmc_npl.c
Used in:   nut/dev/spi_mmc_npl.c

Local Function NplMmc0Reset()

static int NplMmc0Reset ( NUTDEVICE* dev )
Prototyped in: nut/dev/spi_mmc_npl.c
Calls: NplMmc0Led() nut/dev/spi_mmc_npl.c
Called by: SpiMmc0NplInit() nut/dev/spi_mmc_npl.c
Used in:   nut/dev/spi_mmc_npl.c

Local Function NplMmcRemoval()

static void NplMmcRemoval ( void* arg )
Calls: NplIrqDisable() nut/dev/npl.c
  NplIrqEnable() nut/dev/npl.c
Used in: SpiMmc0NplInit() nut/dev/spi_mmc_npl.c

Local Function SpiMmc0NplInit()

static int SpiMmc0NplInit ( NUTDEVICE* dev )
Calls: NplIrqEnable() nut/dev/npl.c
  NplMmc0Reset() nut/dev/spi_mmc_npl.c
  NplRegisterIrqHandler() nut/dev/npl.c
  SpiMmcInit() nut/dev/spi_mmc.c
Used in:   nut/dev/spi_mmc_npl.c
References Functions: NplMmc0Insertion() nut/dev/spi_mmc_npl.c
  NplMmcRemoval() nut/dev/spi_mmc_npl.c