Struct stm32wlxx_hal::pac::pwr::cr3::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR3
writer
Implementations§
§impl W
impl W
pub fn eiwul(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EIWUL_A, BitM, 15>
pub fn eiwul(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EIWUL_A, BitM, 15>
Bit 15 - Enable internal wakeup line for CPU1
pub fn ec2h(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 14>
pub fn ec2h(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, bool, BitM, 14>
Bit 14 - nable CPU2 Hold interrupt for CPU1
pub fn ewrfirq(
&mut self
) -> BitWriterRaw<'_, u32, CR3_SPEC, EWRFIRQ_A, BitM, 13>
pub fn ewrfirq( &mut self ) -> BitWriterRaw<'_, u32, CR3_SPEC, EWRFIRQ_A, BitM, 13>
Bit 13 - akeup for CPU1
pub fn ewrfbusy(
&mut self
) -> BitWriterRaw<'_, u32, CR3_SPEC, EWRFBUSY_A, BitM, 11>
pub fn ewrfbusy( &mut self ) -> BitWriterRaw<'_, u32, CR3_SPEC, EWRFBUSY_A, BitM, 11>
Bit 11 - Enable Radio BUSY Wakeup from Standby for CPU1
pub fn apc(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, APC_A, BitM, 10>
pub fn apc(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, APC_A, BitM, 10>
Bit 10 - Apply pull-up and pull-down configuration from CPU1
pub fn rrs(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, RRS_A, BitM, 9>
pub fn rrs(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, RRS_A, BitM, 9>
Bit 9 - SRAM2 retention in Standby mode
pub fn ewpvd(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWPVD_A, BitM, 8>
pub fn ewpvd(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWPVD_A, BitM, 8>
Bit 8 - Enable wakeup PVD for CPU1
pub fn eulpen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EULPEN_A, BitM, 7>
pub fn eulpen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EULPEN_A, BitM, 7>
Bit 7 - Ultra-low-power enable
pub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWUP3_A, BitM, 2>
pub fn ewup3(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWUP3_A, BitM, 2>
Bit 2 - Enable Wakeup pin WKUP3 for CPU1
pub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWUP2_A, BitM, 1>
pub fn ewup2(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EWUP2_A, BitM, 1>
Bit 1 - Enable Wakeup pin WKUP2 for CPU1
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§
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