pub struct W(/* private fields */);
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, bool, BitM, 1>
pub fn pdds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 1>
Bit 1 - Power down deepsleep
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 wakeup 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
sourcepub fn dbp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 8>
pub fn dbp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 8>
Bit 8 - Disable backup domain write protection
sourcepub fn fpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
pub fn fpds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 9>
Bit 9 - Flash power down in Stop mode
sourcepub fn lplvds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
pub fn lplvds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
Bit 10 - Low-Power Regulator Low Voltage in deepsleep
sourcepub fn mrlvds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 11>
pub fn mrlvds(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 11>
Bit 11 - Main regulator low voltage in deepsleep mode
sourcepub fn vos(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 14>
pub fn vos(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Regulator voltage scaling output selection
sourcepub fn oden(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
pub fn oden(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
Bit 16 - Over-drive enable
sourcepub fn odswen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 17>
pub fn odswen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 17>
Bit 17 - Over-drive switching enabled
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§
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