Struct W
pub struct W(/* private fields */);
Expand description
Register CR3
writer
Implementations§
§impl W
impl W
pub 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
pub 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
pub fn scuen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 2>
pub fn scuen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 2>
Bit 2 - SD converter Enable
pub 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
pub 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.
Methods from Deref<Target = W<CR3_SPEC>>§
pub 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