Struct stm32wlxx_hal::pac::pwr::cr4::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR4
writer
Implementations§
§impl W
impl W
pub fn c2boot(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, bool, BitM, 15>
pub fn c2boot(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, bool, BitM, 15>
Bit 15 - oot CPU2 after reset or wakeup from Stop or Standby modes.
pub fn wrfbusyp(
&mut self
) -> BitWriterRaw<'_, u32, CR4_SPEC, WRFBUSYP_A, BitM, 11>
pub fn wrfbusyp( &mut self ) -> BitWriterRaw<'_, u32, CR4_SPEC, WRFBUSYP_A, BitM, 11>
Bit 11 - Wakeup Radio BUSY polarity
pub fn vbrs(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, VBRS_A, BitM, 9>
pub fn vbrs(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, VBRS_A, BitM, 9>
Bit 9 - VBAT battery charging resistor selection
pub fn vbe(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, VBE_A, BitM, 8>
pub fn vbe(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, VBE_A, BitM, 8>
Bit 8 - VBAT battery charging enable
pub fn wp3(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, WP3_A, BitM, 2>
pub fn wp3(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, WP3_A, BitM, 2>
Bit 2 - Wakeup pin WKUP3 polarity
pub fn wp2(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, WP2_A, BitM, 1>
pub fn wp2(&mut self) -> BitWriterRaw<'_, u32, CR4_SPEC, WP2_A, BitM, 1>
Bit 1 - Wakeup pin WKUP2 polarity
Methods from Deref<Target = W<CR4_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