[][src]Struct esp_idf_sys::uart_config_t

#[repr(C)]
pub struct uart_config_t {
    pub baud_rate: c_int,
    pub data_bits: uart_word_length_t,
    pub parity: uart_parity_t,
    pub stop_bits: uart_stop_bits_t,
    pub flow_ctrl: uart_hw_flowcontrol_t,
    pub rx_flow_ctrl_thresh: u8,
    pub use_ref_tick: bool,
}

@brief UART configuration parameters for uart_param_config function

Fields

baud_rate: c_int

< UART baud rate

data_bits: uart_word_length_t

< UART byte size

parity: uart_parity_t

< UART parity mode

stop_bits: uart_stop_bits_t

< UART stop bits

flow_ctrl: uart_hw_flowcontrol_t

< UART HW flow control mode (cts/rts)

rx_flow_ctrl_thresh: u8

< UART HW RTS threshold

use_ref_tick: bool

< Set to true if UART should be clocked from REF_TICK

Trait Implementations

impl Debug for uart_config_t[src]

impl Copy for uart_config_t[src]

impl Clone for uart_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]