diff options
Diffstat (limited to 'nuttx/drivers/mmcsd/Kconfig')
-rwxr-xr-x[-rw-r--r--] | nuttx/drivers/mmcsd/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nuttx/drivers/mmcsd/Kconfig b/nuttx/drivers/mmcsd/Kconfig index 4949cee1f..f78232ebb 100644..100755 --- a/nuttx/drivers/mmcsd/Kconfig +++ b/nuttx/drivers/mmcsd/Kconfig @@ -38,6 +38,23 @@ config MMCSD_HAVECARDDETECT SDIO driver card detection is 100% accurate +config MMCSD_SDIOWAIT_WRCOMPLETE + bool "Use SDIO_D Busy to detect Write Complete" + default n + ---help--- + SDIO driver will use SDIO_D Busy signalling to detect Write Complete. + This option when selected, will enable the MMCSD driver to use the + underlying (stm32_sdio only) drivers implementation of the SD specs + SDIO_D Busy signalling to detect Write Complete. This will avoid + potentially very long (600Ms+) busy waiting in the MMCSD driver. + + To implement SDIO_D Busy signalling, the underlying driver must + be capable of switching the GPIO_SDIO_D0 to be a rising edge sensitive + interrupt pin. It must then, condition that pin to detect the rising edge + on receipt of SDWAIT_WRCOMPLETE in the SDIO_WAITENABLE call and + return it back to regular SDIO mode, when either the ISR fires or pin is + found to be high in the SDIO_EVENTWAIT call. + config MMCSD_SPI bool "MMC/SD SPI transfer support" default y |