#[repr(transparent)]pub struct Rcr(pub u32);Expand description
Reset Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Rcr
impl Rcr
Sourcepub const fn swrst(&self) -> bool
pub const fn swrst(&self) -> bool
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = SoftwareReset: Software reset.
Sourcepub const fn set_swrst(&mut self, val: bool)
pub const fn set_swrst(&mut self, val: bool)
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = SoftwareReset: Software reset.
Sourcepub const fn fiforst(&self) -> bool
pub const fn fiforst(&self) -> bool
FIFO Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = FifoReset: FIFO reset.
Sourcepub const fn set_fiforst(&mut self, val: bool)
pub const fn set_fiforst(&mut self, val: bool)
FIFO Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = FifoReset: FIFO reset.
Trait Implementations§
impl Copy for Rcr
impl Eq for Rcr
impl StructuralPartialEq for Rcr
Auto Trait Implementations§
impl Freeze for Rcr
impl RefUnwindSafe for Rcr
impl Send for Rcr
impl Sync for Rcr
impl Unpin for Rcr
impl UnwindSafe for Rcr
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