pub struct W(_);
Expand description
Register SMPR1
writer
Implementations§
source§impl W
impl W
sourcepub fn smp10(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 0>
pub fn smp10(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 0>
Bits 0:2 - Channel 10 sample time selection
sourcepub fn smp11(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 3>
pub fn smp11(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 3>
Bits 3:5 - Channel 11 sample time selection
sourcepub fn smp12(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 6>
pub fn smp12(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 6>
Bits 6:8 - Channel 12 sample time selection
sourcepub fn smp13(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 9>
pub fn smp13(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 9>
Bits 9:11 - Channel 13 sample time selection
sourcepub fn smp14(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 12>
pub fn smp14(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 12>
Bits 12:14 - Channel 14 sample time selection
sourcepub fn smp15(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 15>
pub fn smp15(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 15>
Bits 15:17 - Channel 15 sample time selection
sourcepub fn smp16(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 18>
pub fn smp16(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR1_SPEC, u8, SMP10_A, Safe, 3, 18>
Bits 18:20 - Channel 16 sample time selection
Methods from Deref<Target = W<SMPR1_SPEC>>§
sourcepub 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.