Contiki-NG
Modules | Files | Macros | Functions

SD/MMC device driver. More...

Modules

 SD/MMC architecture-specific definitions
 SD/MMC device driver architecture-specific definitions.
 

Files

file  mmc.c
 Implementation of the SD/MMC device driver.
 
file  mmc.h
 Header file for the SD/MMC device driver.
 

Macros

#define MMC_CONF_DEV_COUNT   1
 Number of SD/MMC devices. More...
 

Functions

void mmc_arch_cd_changed_callback (uint8_t dev, bool cd)
 Callback of the SD/MMC driver to call when the card-detection signal changes. More...
 

Detailed Description

SD/MMC device driver.

Macro Definition Documentation

◆ MMC_CONF_DEV_COUNT

#define MMC_CONF_DEV_COUNT   1

Number of SD/MMC devices.

Definition at line 51 of file mmc.h.

Function Documentation

◆ mmc_arch_cd_changed_callback()

void mmc_arch_cd_changed_callback ( uint8_t  dev,
bool  cd 
)

Callback of the SD/MMC driver to call when the card-detection signal changes.

Parameters
devDevice
cdWhether a card is detected
Note
Using this function is not mandatory. This only allows to detect a card replacement between two successive calls to the SD/MMC driver API.

Definition at line 312 of file mmc.c.