pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
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 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 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 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 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 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 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 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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