pub struct W(/* private fields */);
Expand description
Register MCUSR
writer
Implementations§
source§impl W
impl W
sourcepub fn porf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 0>
pub fn porf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 0>
Bit 0 - Power-on reset flag
sourcepub fn extrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 1>
pub fn extrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 1>
Bit 1 - External Reset Flag
sourcepub fn borf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 2>
pub fn borf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 2>
Bit 2 - Brown-out Reset Flag
sourcepub fn wdrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 3>
pub fn wdrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 3>
Bit 3 - Watchdog Reset Flag
Methods from Deref<Target = W<MCUSR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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