Function esp_idf_sys::uart_set_baudrate

source ยท
pub unsafe extern "C" fn uart_set_baudrate(
    uart_num: uart_port_t,
    baudrate: u32,
) -> esp_err_t
Expand description

@brief Set UART baud rate.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param baudrate UART baud rate.

@return - ESP_FAIL Parameter error - ESP_OK Success