Struct stm32wlxx_hal::pac::pwr::cr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR2
writer
Implementations§
§impl W
impl W
pub fn pvme3(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, PVME3_A, BitM, 6>
pub fn pvme3(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, PVME3_A, BitM, 6>
Bit 6 - Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V
pub fn pls(
&mut self
) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, PLS_A, Safe, 3, 1>
pub fn pls( &mut self ) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, PLS_A, Safe, 3, 1>
Bits 1:3 - Power voltage detector level selection.
Methods from Deref<Target = W<CR2_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