UartPeriphExt

Trait UartPeriphExt 

Source
pub trait UartPeriphExt:
    UartPeriph
    + BusClock
    + Enable
    + Reset
    + Steal {
    // Required methods
    fn config(&mut self, config: Config, mcu: &mut Mcu);
    fn enable_comm(&mut self, tx: bool, rx: bool);
    fn set_stop_bits(&mut self, bits: StopBits);
}

Required Methods§

Source

fn config(&mut self, config: Config, mcu: &mut Mcu)

Source

fn enable_comm(&mut self, tx: bool, rx: bool)

Source

fn set_stop_bits(&mut self, bits: StopBits)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§