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
sourcepub fn jtrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 4>
pub fn jtrf(&mut self) -> BitWriterRaw<'_, u8, MCUSR_SPEC, bool, BitM, 4>
Bit 4 - JTAG Reset Flag