pub unsafe extern "C" fn uart_driver_delete(uart_num: i32) -> 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