Function esp_idf_sys::uart_set_mode
source ยท pub unsafe extern "C" fn uart_set_mode(
uart_num: uart_port_t,
mode: uart_mode_t,
) -> esp_err_t
Expand description
@brief UART set communication mode
@note This function must be executed after uart_driver_install(), when the driver object is initialized. @param uart_num Uart number to configure, the max port number is (UART_NUM_MAX -1). @param mode UART UART mode to set
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error