pub struct W(_);
Expand description
Register CR3
writer
Implementations
sourceimpl W
impl W
sourcepub fn bypass(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 0>
pub fn bypass(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 0>
Bit 0 - Power management unit bypass
sourcepub fn ldoen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 1>
pub fn ldoen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 1>
Bit 1 - Low drop-out regulator enable
sourcepub fn sden(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 2>
pub fn sden(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 2>
Bit 2 - SD converter Enable
sourcepub fn vbe(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 8>
pub fn vbe(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 8>
Bit 8 - VBAT charging enable
sourcepub fn vbrs(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 9>
pub fn vbrs(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 9>
Bit 9 - VBAT charging resistor selection
sourcepub fn usb33den(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 24>
pub fn usb33den(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 24>
Bit 24 - VDD33USB voltage level detector enable.
sourcepub fn usbregen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 25>
pub fn usbregen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 25>
Bit 25 - USB regulator enable.
sourcepub fn sdexthp(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 3>
pub fn sdexthp(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 3>
Bit 3 - SMPS step-down converter forced ON and in High Power MR mode
sourcepub fn sdlevel(
&mut self
) -> FieldWriterRaw<'_, u32, CR3_SPEC, u8, u8, Unsafe, 2, 4>
pub fn sdlevel(
&mut self
) -> FieldWriterRaw<'_, u32, CR3_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - SMPS step-down converter voltage output level selection
Methods from Deref<Target = W<CR3_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