#[repr(transparent)]pub struct Rcr2(pub u32);Expand description
Reset Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Rcr2
impl Rcr2
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 Rcr2
impl Eq for Rcr2
impl StructuralPartialEq for Rcr2
Auto Trait Implementations§
impl Freeze for Rcr2
impl RefUnwindSafe for Rcr2
impl Send for Rcr2
impl Sync for Rcr2
impl Unpin for Rcr2
impl UnwindSafe for Rcr2
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