Function esp_idf_sys::uart_set_word_length
source ยท pub unsafe extern "C" fn uart_set_word_length(
uart_num: uart_port_t,
data_bit: uart_word_length_t,
) -> esp_err_t
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