Contiki-NG
|
Topics | |
SD/MMC 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. | |
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. | |
SD/MMC device driver.
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.
dev | Device |
cd | Whether a card is detected |
Definition at line 312 of file mmc.c.
References DISK_STATUS_DISK, DISK_STATUS_WRITABLE, mmc_arch_get_wp(), and MMC_CONF_DEV_COUNT.