pub struct W(/* private fields */);
Expand description
Register CSR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn ewup(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 8>
pub fn ewup(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 8>
Bit 8 - Enable WKUP pin
Sourcepub fn bre(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 9>
pub fn bre(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 9>
Bit 9 - Backup regulator enable
Sourcepub fn vosrdy(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 14>
pub fn vosrdy(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, bool, BitM, 14>
Bit 14 - Regulator voltage scaling output selection ready bit
Methods from Deref<Target = W<CSR_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