#[repr(transparent)]pub struct Mcr(pub u32);Expand description
MODEM Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Mcr
impl Mcr
Sourcepub const fn dtr(&self) -> bool
pub const fn dtr(&self) -> bool
DTR_B default state. Zero drives logic one; one drives logic zero. Raw bit values: false (0) = Deasserted: Logic one (deasserted).; true (1) = Asserted: Logic zero (asserted).
Sourcepub const fn set_dtr(&mut self, val: bool)
pub const fn set_dtr(&mut self, val: bool)
DTR_B default state. Zero drives logic one; one drives logic zero. Raw bit values: false (0) = Deasserted: Logic one (deasserted).; true (1) = Asserted: Logic zero (asserted).
Trait Implementations§
impl Copy for Mcr
impl Eq for Mcr
impl StructuralPartialEq for Mcr
Auto Trait Implementations§
impl Freeze for Mcr
impl RefUnwindSafe for Mcr
impl Send for Mcr
impl Sync for Mcr
impl Unpin for Mcr
impl UnwindSafe for Mcr
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