Function esp_idf_hal::sys::uart_set_sw_flow_ctrl
source ยท pub unsafe extern "C" fn uart_set_sw_flow_ctrl(
uart_num: i32,
enable: bool,
rx_thresh_xon: u8,
rx_thresh_xoff: u8,
) -> i32
Expand description
@brief Set software flow control.
@param uart_num UART_NUM_0, UART_NUM_1 or UART_NUM_2 @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