Struct stm32wlxx_hal::pac::pwr::c2cr3::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2CR3
writer
Implementations§
§impl W
impl W
pub fn eiwul(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EIWUL_A, BitM, 15>
pub fn eiwul(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EIWUL_A, BitM, 15>
Bit 15 - Enable internal wakeup line for CPU2
pub fn ewrfirq(
&mut self
) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWRFIRQ_A, BitM, 13>
pub fn ewrfirq( &mut self ) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWRFIRQ_A, BitM, 13>
Bit 13 - akeup for CPU2
pub fn ewrfbusy(
&mut self
) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWRFBUSY_A, BitM, 11>
pub fn ewrfbusy( &mut self ) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWRFBUSY_A, BitM, 11>
Bit 11 - EWRFBUSY
pub fn apc(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, APC_A, BitM, 10>
pub fn apc(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, APC_A, BitM, 10>
Bit 10 - Apply pull-up and pull-down configuration for CPU2
pub fn ewpvd(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWPVD_A, BitM, 8>
pub fn ewpvd(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWPVD_A, BitM, 8>
Bit 8 - Enable wakeup PVD for CPU2
pub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP3_A, BitM, 2>
pub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP3_A, BitM, 2>
Bit 2 - Enable Wakeup pin WKUP3 for CPU2
pub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP2_A, BitM, 1>
pub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP2_A, BitM, 1>
Bit 1 - Enable Wakeup pin WKUP2 for CPU2
pub fn ewup1(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP1_A, BitM, 0>
pub fn ewup1(&mut self) -> BitWriterRaw<'_, u32, C2CR3_SPEC, EWUP1_A, BitM, 0>
Bit 0 - Enable Wakeup pin WKUP1 for CPU2
Methods from Deref<Target = W<C2CR3_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§
§impl From<W<C2CR3_SPEC>> for W
impl From<W<C2CR3_SPEC>> for W
§fn from(writer: W<C2CR3_SPEC>) -> W
fn from(writer: W<C2CR3_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
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