#[repr(transparent)]pub struct Mcr(pub u32);Expand description
Controller Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Mcr
impl Mcr
Sourcepub const fn dozen(&self) -> bool
pub const fn dozen(&self) -> bool
Doze Mode Enable. Raw bit values: false (0) = Enabled: Enable.; true (1) = Disabled: Disable.
Sourcepub const fn set_dozen(&mut self, val: bool)
pub const fn set_dozen(&mut self, val: bool)
Doze Mode Enable. Raw bit values: false (0) = Enabled: Enable.; true (1) = Disabled: Disable.
Sourcepub const fn rtf(&self) -> bool
pub const fn rtf(&self) -> bool
Reset Transmit FIFO. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Reset: Reset transmit FIFO.
Sourcepub const fn set_rtf(&mut self, val: bool)
pub const fn set_rtf(&mut self, val: bool)
Reset Transmit FIFO. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Reset: Reset transmit FIFO.
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