Function esp_idf_svc::sys::uart_set_line_inverse
source ยท pub unsafe extern "C" fn uart_set_line_inverse(
uart_num: u32,
inverse_mask: u32,
) -> i32
Expand description
@brief Set UART line inverse mode
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1).
@param inverse_mask Choose the wires that need to be inverted. Using the ORred mask of uart_signal_inv_t
@return - ESP_OK Success - ESP_FAIL Parameter error