SD/MMC device driver.
More...
|
file | mmc.c |
| Implementation of the SD/MMC device driver.
|
|
file | mmc.h |
| Header file for the SD/MMC device driver.
|
|
SD/MMC device driver.
◆ MMC_CONF_DEV_COUNT
#define MMC_CONF_DEV_COUNT 1 |
Number of SD/MMC devices.
Definition at line 51 of file mmc.h.
◆ 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
-
dev | Device |
cd | Whether 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.