Function esp_idf_svc::hal::sys::uart_driver_delete

source ยท
pub unsafe extern "C" fn uart_driver_delete(uart_num: u32) -> i32
Expand description

@brief Uninstall UART driver.

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

@return - ESP_OK Success - ESP_FAIL Parameter error