pub struct Config {
pub baud_rate: BitsPerSecond,
pub oversampling: Oversampling,
pub character_match: Option<u8>,
pub sysclock: bool,
pub parity: Parity,
pub data_bits: DataBits,
}Expand description
USART configuration
Fields§
§baud_rate: BitsPerSecond§oversampling: Oversampling§character_match: Option<u8>§sysclock: bool§parity: Parity§data_bits: DataBitsTrait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more