[−][src]Function esp_idf_sys::uart_set_hw_flow_ctrl
pub unsafe extern "C" fn uart_set_hw_flow_ctrl(
uart_num: uart_port_t,
flow_ctrl: uart_hw_flowcontrol_t,
rx_thresh: u8
) -> esp_err_t
@brief Set hardware flow control.
@param uart_num UART_NUM_0, UART_NUM_1 or UART_NUM_2 @param flow_ctrl Hardware flow control mode @param rx_thresh Threshold of Hardware RX flow control (0 ~ UART_FIFO_LEN). Only when UART_HW_FLOWCTRL_RTS is set, will the rx_thresh value be set.
@return - ESP_OK Success - ESP_FAIL Parameter error