pub struct W(/* private fields */);
Expand description
Register CSR
writer
Implementations§
Source§impl 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§
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