pub struct W(_);
Expand description
Register CSR
writer
Implementations§
source§impl W
impl W
sourcepub fn lsion(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, LSION_A, BitM, 0>
pub fn lsion(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, LSION_A, BitM, 0>
Bit 0 - Internal low speed oscillator enable
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
sourcepub fn pinrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 26>
pub fn pinrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 26>
Bit 26 - PIN reset flag
sourcepub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 27>
pub fn porrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 27>
Bit 27 - POR/PDR reset flag
sourcepub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 28>
pub fn sftrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 28>
Bit 28 - Software reset flag
sourcepub fn iwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 29>
pub fn iwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 29>
Bit 29 - Independent watchdog reset flag
sourcepub fn wwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 30>
pub fn wwdgrstf(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, PINRSTF_A, BitM, 30>
Bit 30 - Window watchdog 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.