fdfa7e6cc2
sdmmc: handle card removal when CD is not used When SD card is removed during transaction, SDMMC peripheral can report a range of errors, such as timeouts, CRC errors, start/end bit errors. Under normal conditions (card is inserted), SDMMC peripheral also generates command done or data done interrupts. When the card is removed, such interrupts may not be always generated. This change fixes handling of timeout interrupts and SBE interrupts. It also adds a one second timeout into the event processing loop. This timeout allows applications to recover in cases when the SDMMC peripheral doesn’t generate command/data done event on card removal. Fixes TW11592. See merge request !678 |
||
---|---|---|
.. | ||
include/driver | ||
test | ||
component.mk | ||
gpio.c | ||
i2c.c | ||
i2s.c | ||
ledc.c | ||
pcnt.c | ||
periph_ctrl.c | ||
rmt.c | ||
rtc_module.c | ||
sdmmc_host.c | ||
sdmmc_private.h | ||
sdmmc_transaction.c | ||
sigmadelta.c | ||
spi_master.c | ||
timer.c | ||
uart.c |