Collaboration diagram for Low Level MMC Interface:
![]() |
Data Structures | |
struct | _MMCDCB |
Private data of NPL card interface. More... | |
Defines | |
#define | SPI0_CS_BIT |
Port bit for SPI chip select. | |
#define | SPI0_CLK_BIT |
Port bit for SPI clock. | |
#define | SPI0_MOSI_BIT |
Port bit for SPI MOSI line. | |
#define | SPI0_MISO_BIT |
Port bit for SPI MISO line. | |
#define | MMC0_CLR_BIT(n) |
#define | MMC0_SET_BIT(n) |
#define | MMC0_IS_BIT_SET(n) |
#define | MMC0_TST_BIT(n) |
Query status of a specified MMC input. | |
Typedefs | |
typedef _MMCDCB | MMCDCB |
Private data of NPL card interface. | |
Functions | |
int | SbiMmCard0Avail (void) |
Check if card is available in slot 0. | |
int | SbiMmCard0WrProt (void) |
Check if card in slot 0 is write protected. | |
Variables | |
NUTDEVICE | devSbiMmc0 |
Multimedia card device information structure. |
|
Check if card is available in slot 0.
|
|
Check if card in slot 0 is write protected.
|
|
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). |