Struct stm32wlxx_hal::pac::adc::chselr1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CHSELR1
writer
Implementations§
§impl W
impl W
pub fn sq1(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 0>
pub fn sq1( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 0>
Bits 0:3 - SQ1
pub fn sq2(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 4>
pub fn sq2( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 4>
Bits 4:7 - SQ2
pub fn sq3(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 8>
pub fn sq3( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 8>
Bits 8:11 - SQ3
pub fn sq4(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 12>
pub fn sq4( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 12>
Bits 12:15 - SQ4
pub fn sq5(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 16>
pub fn sq5( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 16>
Bits 16:19 - SQ5
pub fn sq6(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 20>
pub fn sq6( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 20>
Bits 20:23 - SQ6
pub fn sq7(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 24>
pub fn sq7( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 24>
Bits 24:27 - SQ7
pub fn sq8(
&mut self
) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 28>
pub fn sq8( &mut self ) -> FieldWriterRaw<'_, u32, CHSELR1_SPEC, u8, SQ1_A, Safe, 4, 28>
Bits 28:31 - SQ8
Methods from Deref<Target = W<CHSELR1_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<CHSELR1_SPEC>> for W
impl From<W<CHSELR1_SPEC>> for W
§fn from(writer: W<CHSELR1_SPEC>) -> W
fn from(writer: W<CHSELR1_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