pub struct W(/* private fields */);
Expand description
Register SMPR1
writer
Implementations§
§impl W
impl W
pub fn smp9(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 27>
pub fn smp9( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 27>
Bits 27:29 - ADC channel 9 sampling time selection
pub fn smp8(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 24>
pub fn smp8( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 24>
Bits 24:26 - ADC channel 8 sampling time selection
pub fn smp7(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 21>
pub fn smp7( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 21>
Bits 21:23 - ADC channel 7 sampling time selection
pub fn smp6(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 18>
pub fn smp6( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 18>
Bits 18:20 - ADC channel 6 sampling time selection
pub fn smp5(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 15>
pub fn smp5( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 15>
Bits 15:17 - ADC channel 5 sampling time selection
pub fn smp4(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 12>
pub fn smp4( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 12>
Bits 12:14 - ADC channel 4 sampling time selection
pub fn smp3(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 9>
pub fn smp3( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 9>
Bits 9:11 - ADC channel 3 sampling time selection
pub fn smp2(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 6>
pub fn smp2( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 6>
Bits 6:8 - ADC channel 2 sampling time selection
pub fn smp1(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 3>
pub fn smp1( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 3>
Bits 3:5 - ADC channel 1 sampling time selection
pub fn smp0(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 0>
pub fn smp0( &mut self ) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP0_A, Safe, 3, 0>
Bits 0:2 - ADC channel 0 sampling time
Methods from Deref<Target = W<SMPR1_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<SMPR1_SPEC>> for W
impl From<W<SMPR1_SPEC>> for W
§fn from(writer: W<SMPR1_SPEC>) -> W
fn from(writer: W<SMPR1_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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