Function esp_idf_sys::uart_param_config

source ยท
pub unsafe extern "C" fn uart_param_config(
    uart_num: uart_port_t,
    uart_config: *const uart_config_t,
) -> esp_err_t
Expand description

@brief Set UART configuration parameters.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param uart_config UART parameter settings

@return - ESP_OK Success - ESP_FAIL Parameter error