Function gx_hal_sd_set_detect_type¶
Defined in file__output_copyinclude_src_include_sdio_gx_hal_sdif.h
Function Documentation¶
-
void gx_hal_sd_set_detect_type(GX_SDIF_DETECT_TYPE_T type)¶
设置检测SD卡插入状态的方式
- 参数
type – 检测SD卡插入状态的方式 gx_sdif_detect_card_gpio_cd 通过普通GPIO检测 gx_sdif_detect_card_host_cd 通过SDIO的detect pin检测 gx_sdif_detect_card_host_data3 通过SDIO的data3 pin检测