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§
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