Function gx_uart_set_send_fifo_threshold¶
-
int gx_uart_set_send_fifo_threshold(int port, GX_UART_FIFO_SEND_THRESHOLD threshold)¶
设置串口发送 fifo 中断触发门限
- 参数
port -- 端口
threshold -- 门限值, 详细说明请参考 GX_UART_FIFO_SEND_THRESHOLD
- Returns 0
成功
- Returns -1
失败
- 返回
int 是否成功