mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Tiva Timer: Extend timer register definitions to handle other chips
This commit is contained in:
@@ -9375,9 +9375,9 @@
|
||||
* arch/arm/src/stm32/stm32_sdio.c, drivers/mmcsd/mmcsd_sdio.c and Kconfig,
|
||||
and include/nuttx/sdio.h: MMCSD SDIO: Add support for a new
|
||||
SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait loop
|
||||
to pool the car d R1 start to determine when the card was ready for
|
||||
to poll the card R1 status to determine when the card was ready for
|
||||
the next transfer. That busy-wait can be quite long -- up to hundreds
|
||||
of milliseconds. And alternative is to look the the SD D0 pin which
|
||||
of milliseconds. An alternative is to look the the SD D0 pin which
|
||||
will change state when the card is no longer busy. This change avoids
|
||||
the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt,
|
||||
then waiting for the card to become ready without taking up CPU
|
||||
|
||||
+289
-224
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user