Function gx_hal_i2c_master_receive_dma_start¶
Defined in file__output_copyinclude_src_include_i2c_gx_hal_dw_i2c.h
Function Documentation¶
-
hal_status gx_hal_i2c_master_receive_dma_start(GX_HAL_I2C *i2c, uint16_t dev_addr)¶
i2c master使用DMA接收数据
- 参数
i2c – i2c句柄
dev_addr – slave地址
- Returns HAL_OK
成功
- Returns HAL_ERROR
失败
- 返回
hal_status 是否成功