Function esp_idf_svc::sys::uart_set_sw_flow_ctrl
source ยท pub unsafe extern "C" fn uart_set_sw_flow_ctrl(
uart_num: u32,
enable: bool,
rx_thresh_xon: u8,
rx_thresh_xoff: u8,
) -> i32
Expand description
@brief Set software flow control.
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1) @param enable switch on or off @param rx_thresh_xon low water mark @param rx_thresh_xoff high water mark
@return - ESP_OK Success - ESP_FAIL Parameter error