OVMS3-idf/components/driver
Ivan Grokhotkov 49848eaed5 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.
2017-04-19 12:50:51 +08:00
..
include/driver components/driver/rmt: Add const qualifier for config and tx data. 2017-04-11 18:55:56 +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 gpio: Attach gpio intr to the isr_server on the right core. 2017-01-20 14:56:59 +11:00
i2c.c Merge branch 'bugfix/i2c_spikes_on_master_init_#393_from_github' into 'master' 2017-03-21 15:09:16 +08:00
i2s.c Add i2s driver 2016-12-29 17:29:14 +08:00
ledc.c Feature: add ledc low speed channels 2017-03-17 17:26:30 +08:00
pcnt.c Merge branch 'bugfix/driver_cleanup_log' into 'master' 2016-12-12 10:15:25 +08:00
periph_ctrl.c Add SPI Master driver, example, test and docs 2017-01-06 14:20:32 +08:00
rmt.c components/driver/rmt: Add const qualifier for config and tx data. 2017-04-11 18:55:56 +08: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 driver: sigma-delta 2016-12-18 17:20:17 +08:00
spi_master.c Fix timing adjustment needed for higher speeds of SPI master bus. 2017-03-28 11:31:59 +08:00
timer.c Convert DOS line ends to Unix line ends in drivers 2016-12-15 09:45:40 +08:00
uart.c Fix uart tx function block issue 2017-04-12 16:57:37 +08:00