Function esp_idf_sys::uart_set_sw_flow_ctrl
source ยท pub unsafe extern "C" fn uart_set_sw_flow_ctrl(
uart_num: uart_port_t,
enable: bool,
rx_thresh_xon: u8,
rx_thresh_xoff: u8,
) -> esp_err_t
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