pub struct W(_);
Expand description
Register RSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, RMVF_A, BitM, 16>
pub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, RMVF_A, BitM, 16>
Bit 16 - Remove reset flag
sourcepub fn cpurstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 17>
pub fn cpurstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 17>
Bit 17 - CPU reset flag
sourcepub fn d1rstf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 19>
pub fn d1rstf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 19>
Bit 19 - D1 domain power switch reset flag
sourcepub fn d2rstf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 20>
pub fn d2rstf(&mut self) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 20>
Bit 20 - D2 domain power switch reset flag
sourcepub fn borrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 21>
pub fn borrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 21>
Bit 21 - BOR reset flag
sourcepub fn pinrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 22>
pub fn pinrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 22>
Bit 22 - Pin reset flag (NRST)
sourcepub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 23>
pub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 23>
Bit 23 - POR/PDR reset flag
sourcepub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 24>
pub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 24>
Bit 24 - System reset from CPU reset flag
sourcepub fn iwdg1rstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 26>
pub fn iwdg1rstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 26>
Bit 26 - Independent Watchdog reset flag
sourcepub fn wwdg1rstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 28>
pub fn wwdg1rstf(
&mut self
) -> BitWriterRaw<'_, u32, RSR_SPEC, CPURSTF_A, BitM, 28>
Bit 28 - Window Watchdog reset flag
Methods from Deref<Target = W<RSR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more