Function gx_hal_uart_set_send_fifo_threshold¶
Defined in file__output_copyinclude_src_include_uart_gx_hal_uart.h
Function Documentation¶
-
hal_status gx_hal_uart_set_send_fifo_threshold(GX_HAL_UART *dev, GX_HAL_UART_FIFO_SEND_THRESHOLD threshold)¶
设置串口发送 fifo 中断触发门限
- 参数
dev – uart 句柄
threshold – 门限值, 详细说明请参考 GX_HAL_UART_FIFO_SEND_THRESHOLD
- Returns HAL_OK
成功
- Returns HAL_ERROR
失败
- 返回
hal_status 是否成功