Function esp_idf_sys::uart_get_word_length

source ยท
pub unsafe extern "C" fn uart_get_word_length(
    uart_num: uart_port_t,
    data_bit: *mut uart_word_length_t,
) -> esp_err_t
Expand description

@brief Get the UART data bit configuration.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param data_bit Pointer to accept value of UART data bits.

@return - ESP_FAIL Parameter error - ESP_OK Success, result will be put in (*data_bit)