diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-08 18:12:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-08 18:12:06 -0600 |
commit | 11ee53875937c677dca56788756a6775979a36f2 (patch) | |
tree | 70920155a11e7c875e682abfb9ca08b710da290e /nuttx/include | |
parent | 3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2 (diff) | |
download | nuttx-11ee53875937c677dca56788756a6775979a36f2.tar.gz nuttx-11ee53875937c677dca56788756a6775979a36f2.tar.bz2 nuttx-11ee53875937c677dca56788756a6775979a36f2.zip |
STM32 SDIO: CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE should not be available unless CONFIG_MMCSD_SDIO=y
Diffstat (limited to 'nuttx/include')
-rwxr-xr-x | nuttx/include/nuttx/sdio.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/nuttx/include/nuttx/sdio.h b/nuttx/include/nuttx/sdio.h index 258fe14c8..94c413308 100755 --- a/nuttx/include/nuttx/sdio.h +++ b/nuttx/include/nuttx/sdio.h @@ -63,15 +63,12 @@ #define SDIOWAIT_TIMEOUT (1 << 3) /* Bit 3: Timeout */ #define SDIOWAIT_ERROR (1 << 4) /* Bit 4: Some other error occurred */ -/* SDIOWAIT_WRCOMPLETE (optional) : 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 +/* SDIOWAIT_WRCOMPLETE (optional) : Certain SDIO driver can use D0 busy + * signalling to detect Write Complete. Used of D0 busy signalling will + * avoid potentially very long (600Ms+) busy waiting in the MMCSD driver. + * + * To implement D0 Busy signalling, the underlying SDIO driver must be + * capable of switching the the D0 GPIO 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 |