pub unsafe extern "C" fn uart_get_baudrate(
    uart_num: i32,
    baudrate: *mut u32
) -> i32
Expand description

@brief Get the UART baud rate configuration.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param baudrate Pointer to accept value of UART baud rate

@return - ESP_FAIL Parameter error - ESP_OK Success, result will be put in (*baudrate)