Function gx_hal_sd_write_blocks¶
Defined in file__output_copyinclude_src_include_sdio_gx_hal_sdif.h
Function Documentation¶
-
hal_status gx_hal_sd_write_blocks(void *card, const 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 0
成功
- Returns 其它值
失败
- 返回
int 是否成功