pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn lpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, LPDS_A, BitM, 16>
pub fn lpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, LPDS_A, BitM, 16>
Bit 16 - Regulator in Low-power deepsleep mode
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 deepsleep
sourcepub fn cwuf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CWUF_A, BitM, 2>
pub fn cwuf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CWUF_A, BitM, 2>
Bit 2 - Clear wakeup flag
sourcepub fn csbf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CSBF_A, BitM, 3>
pub fn csbf(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CSBF_A, BitM, 3>
Bit 3 - Clear standby flag
sourcepub fn pvde(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PVDE_A, BitM, 4>
pub fn pvde(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PVDE_A, BitM, 4>
Bit 4 - Power voltage detector enable
sourcepub fn pls(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PLS_A, Safe, 3, 5>
pub fn pls(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PLS_A, Safe, 3, 5>
Bits 5:7 - PVD level selection
sourcepub fn dbp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBP_A, BitM, 8>
pub fn dbp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBP_A, BitM, 8>
Bit 8 - Disable backup domain write protection
sourcepub fn ulp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ULP_A, BitM, 9>
pub fn ulp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ULP_A, BitM, 9>
Bit 9 - Ultra-low-power mode
sourcepub fn vos(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, VOS_A, Unsafe, 2, 11>
pub fn vos(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, VOS_A, Unsafe, 2, 11>
Bits 11:12 - Voltage scaling range selection
sourcepub fn ds_ee_koff(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, DS_EE_KOFF_A, BitM, 13>
pub fn ds_ee_koff(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, DS_EE_KOFF_A, BitM, 13>
Bit 13 - Deep sleep mode with Flash memory kept off
sourcepub fn lprun(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, LPRUN_A, BitM, 14>
pub fn lprun(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, LPRUN_A, BitM, 14>
Bit 14 - Low power run mode
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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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