Function gx_hal_sd_init

  • Defined in file__output_copyinclude_src_include_sdio_gx_hal_sdif.h

Function Documentation

hal_status gx_hal_sd_init(void *card, GX_SDIF_ENTRY_T *data_entry)

SD卡初始化 该函数初始化SDIO接口和SD卡, 初始化结果状态由返回值返回

参数
  • card – SD的card结构体指针

  • entry_data – 初始化参数

Returns HAL_OK

成功

Returns 其它值

失败

返回

int 是否成功