]> granicus.if.org Git - esp-idf/commit
sdmmc: add support for high speed (HS) mode
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 12 Jul 2017 13:17:28 +0000 (21:17 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 16 Aug 2017 10:59:04 +0000 (18:59 +0800)
commit6baf8195ee78b5ce95ff68d9a61243424c6b06f5
treeb5fbc69a8228a7b2c13cf09b4a2278e361c10786
parent9253d316e79890aba0a28fde0371a1a7e169ebb8
sdmmc: add support for high speed (HS) mode

By default SD cards are initialized in default speed (DS) mode. Enabling
HS mode requires SWITCH_FUNC command to be sent twice: first time to
query if the card supports switching to HS mode, second time to perform
the switch.

This change implements SWITCH_FUNC command and adds the procedure to
switch to HS mode.
components/driver/include/driver/sdmmc_defs.h
components/driver/include/driver/sdmmc_types.h
components/sdmmc/sdmmc_cmd.c