pub struct W(_);
Expand description
Register CR
writer
Implementations§
source§impl W
impl W
sourcepub fn lpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 0>
pub fn lpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 0>
Bit 0 - Low Power Deep Sleep
sourcepub fn pdds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PDDS_A, BitM, 1>
pub fn pdds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PDDS_A, BitM, 1>
Bit 1 - Power Down Deep Sleep
sourcepub fn cwuf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
pub fn cwuf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
Bit 2 - Clear Wake-up Flag
sourcepub fn csbf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
pub fn csbf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
Bit 3 - Clear STANDBY Flag
sourcepub fn pvde(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
pub fn pvde(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
Bit 4 - Power Voltage Detector Enable
sourcepub fn pls(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 3, 5>
pub fn pls(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 3, 5>
Bits 5:7 - PVD Level Selection
Methods from Deref<Target = W<CR_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.