Nut/OS  5.0.5
API Reference
NPL Multimedia Card Support

Support routines for MM/SD Cards. More...

Collaboration diagram for NPL Multimedia Card Support:

Variables

NUTDEVICE devNplSpiMmc0
 Multimedia card device information structure.
NUTSPINODE nodeSpiMmc0Npl
 NPL SPI node implementation structure for MMC0.
NUTDEVICE devNplSpiMmc0
 Multimedia card device information structure.

Detailed Description

Support routines for MM/SD Cards.


Variable Documentation

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).

Initial value:

NPL SPI node implementation structure for MMC0.

Initial value:
 {
    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).