pub struct W(_);
Expand description
Register CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn lpwrrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 31>
pub fn lpwrrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 31>
Bit 31 - Low-power reset flag
sourcepub fn wwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 30>
pub fn wwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 30>
Bit 30 - Window watchdog reset flag
sourcepub fn wdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 29>
pub fn wdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 29>
Bit 29 - Independent watchdog reset flag
sourcepub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 28>
pub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 28>
Bit 28 - Software reset flag
sourcepub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 27>
pub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 27>
Bit 27 - POR/PDR reset flag
sourcepub fn padrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 26>
pub fn padrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 26>
Bit 26 - PIN reset flag
sourcepub fn borrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 25>
pub fn borrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, BORRSTF_A, BitM, 25>
Bit 25 - BOR reset flag
sourcepub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RMVF_A, BitM, 24>
pub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RMVF_A, BitM, 24>
Bit 24 - Remove reset flag
Methods from Deref<Target = W<CSR_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