Function esp_idf_svc::hal::sys::uart_param_config

source ยท
pub unsafe extern "C" fn uart_param_config(
    uart_num: u32,
    uart_config: *const uart_config_t,
) -> i32
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