Function gx_hal_uart_write¶
Defined in file__output_copyinclude_src_include_uart_gx_hal_uart.h
Function Documentation¶
-
int gx_hal_uart_write(GX_HAL_UART *dev, const uint8_t *buffer, uint32_t length)¶
同步通过串口写指定长度的数据
- 参数
dev – uart 句柄
buf – 需要写出的数据buf
len – 数据长度
- 返回
int 实际写出数据长度