pub struct W(/* private fields */);Expand description
Register CSR2 writer
Implementations§
Source§impl W
impl W
Sourcepub fn ewup1(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 8>
pub fn ewup1(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 8>
Bit 8 - Enable Wakeup pin for PA0
Sourcepub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 9>
pub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 9>
Bit 9 - Enable Wakeup pin for PA2
Sourcepub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 10>
pub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 10>
Bit 10 - Enable Wakeup pin for PC1
Sourcepub fn ewup4(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 11>
pub fn ewup4(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 11>
Bit 11 - Enable Wakeup pin for PC13
Sourcepub fn ewup5(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 12>
pub fn ewup5(&mut self) -> BitWriterRaw<'_, u32, CSR2_SPEC, bool, BitM, 12>
Bit 12 - Enable Wakeup pin for PI8
Methods from Deref<Target = W<CSR2_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