esp-idf/components/driver
Ivan Grokhotkov fdfa7e6cc2 Merge branch 'bugfix/sdmmc_timeout' into 'master'
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
2017-04-25 16:27:12 +08:00
..
include/driver Merge branch 'bugfix/driver_const_params' into 'master' 2017-04-21 12:25:15 +08:00
test Fix timing adjustment needed for higher speeds of SPI master bus. 2017-03-28 11:31:59 +08:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
gpio.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
i2c.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
i2s.c Add i2s driver 2016-12-29 17:29:14 +08:00
ledc.c Merge branch 'bugfix/github_fixes' into 'master' 2017-04-21 12:27:32 +08:00
pcnt.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
periph_ctrl.c Add SPI Master driver, example, test and docs 2017-01-06 14:20:32 +08:00
rmt.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
rtc_module.c driver/rtc: add APIs to enable/disable hold function 2017-03-24 10:11:13 +08:00
sdmmc_host.c sdmmc: handle card removal when CD is not used 2017-04-19 12:50:51 +08:00
sdmmc_private.h sdmmc: add peripheral driver and protocol layer 2017-01-09 04:51:24 +08:00
sdmmc_transaction.c sdmmc: handle card removal when CD is not used 2017-04-19 12:50:51 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_master.c Merge branch 'bugfix/github_fixes' into 'master' 2017-04-21 12:27:32 +08:00
timer.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
uart.c Fix uart tx function block issue 2017-04-12 16:57:37 +08:00