Function esp_idf_svc::hal::sys::uart_set_word_length

source ยท
pub unsafe extern "C" fn uart_set_word_length(
    uart_num: u32,
    data_bit: u32,
) -> i32
Expand description

@brief Set UART data bits.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param data_bit UART data bits

@return - ESP_OK Success - ESP_FAIL Parameter error