Struct stm32wlxx_hal::pac::adc::smpr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register SMPR
writer
Implementations§
§impl W
impl W
pub fn smp1(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR_SPEC, u8, SMP1_A, Safe, 3, 0>
pub fn smp1( &mut self ) -> FieldWriterRaw<'_, u32, SMPR_SPEC, u8, SMP1_A, Safe, 3, 0>
Bits 0:2 - SMP1
pub fn smp2(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR_SPEC, u8, SMP1_A, Safe, 3, 4>
pub fn smp2( &mut self ) -> FieldWriterRaw<'_, u32, SMPR_SPEC, u8, SMP1_A, Safe, 3, 4>
Bits 4:6 - SMP2
pub fn smpsel10(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 18>
pub fn smpsel10( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 18>
Bit 18 - SMPSEL
pub fn smpsel11(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 19>
pub fn smpsel11( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 19>
Bit 19 - SMPSEL
pub fn smpsel12(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 20>
pub fn smpsel12( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 20>
Bit 20 - SMPSEL
pub fn smpsel13(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 21>
pub fn smpsel13( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 21>
Bit 21 - SMPSEL
pub fn smpsel14(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 22>
pub fn smpsel14( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 22>
Bit 22 - SMPSEL
pub fn smpsel15(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 23>
pub fn smpsel15( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 23>
Bit 23 - SMPSEL
pub fn smpsel16(
&mut self
) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 24>
pub fn smpsel16( &mut self ) -> BitWriterRaw<'_, u32, SMPR_SPEC, SMPSEL0_A, BitM, 24>
Bit 24 - SMPSEL
Methods from Deref<Target = W<SMPR_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