Function gx_hal_sd_read_blocks¶
Defined in file__output_copyinclude_src_include_sdio_gx_hal_sdif.h
Function Documentation¶
-
hal_status gx_hal_sd_read_blocks(void *card, uint8_t *buffer, uint32_t start_block, uint32_t block_count)¶
读取SD卡的block数据
- 参数
card – SD的card结构体指针
buffer – 存放读出数据的buffer指针
start_block – 读出的SD卡起始block
block_count – 总计读出的block数量
- Returns HAL_OK
成功
- Returns 其它值
失败
- 返回
int 是否成功