Function esp_idf_hal::sys::uart_get_hw_flow_ctrl
source ยท pub unsafe extern "C" fn uart_get_hw_flow_ctrl(
uart_num: i32,
flow_ctrl: *mut u32,
) -> i32
Expand description
@brief Get the UART hardware flow control configuration.
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param flow_ctrl Option for different flow control mode.
@return - ESP_FAIL Parameter error - ESP_OK Success, result will be put in (*flow_ctrl)