#[repr(transparent)]pub struct Baud(pub u32);Expand description
Baud Rate
Tuple Fields§
§0: u32Implementations§
Source§impl Baud
impl Baud
Sourcepub const fn set_rxedgie(&mut self, val: bool)
pub const fn set_rxedgie(&mut self, val: bool)
RX Input Active Edge Interrupt Enable
Sourcepub const fn set_lbkdie(&mut self, val: bool)
pub const fn set_lbkdie(&mut self, val: bool)
LIN Break Detect Interrupt Enable
Sourcepub const fn set_resyncdis(&mut self, val: Resyncdis)
pub const fn set_resyncdis(&mut self, val: Resyncdis)
Resynchronization Disable
Sourcepub const fn set_bothedge(&mut self, val: bool)
pub const fn set_bothedge(&mut self, val: bool)
Both Edge Sampling
Sourcepub const fn set_matcfg(&mut self, val: Matcfg)
pub const fn set_matcfg(&mut self, val: Matcfg)
Match Configuration
Sourcepub const fn set_ridmae(&mut self, val: bool)
pub const fn set_ridmae(&mut self, val: bool)
Receiver Idle DMA Enable
Sourcepub const fn set_msel32k(&mut self, val: Msel32k)
pub const fn set_msel32k(&mut self, val: Msel32k)
32.768 KHz Mode Select
Trait Implementations§
impl Copy for Baud
impl Eq for Baud
impl StructuralPartialEq for Baud
Auto Trait Implementations§
impl Freeze for Baud
impl RefUnwindSafe for Baud
impl Send for Baud
impl Sync for Baud
impl Unpin for Baud
impl UnwindSafe for Baud
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