pub struct W(_);
Expand description
Register SMPR2
writer
Implementations§
source§impl W
impl W
sourcepub fn smp0(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 0>
pub fn smp0(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 0>
Bits 0:2 - Channel 0 sample time selection
sourcepub fn smp1(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 3>
pub fn smp1(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 3>
Bits 3:5 - Channel 1 sample time selection
sourcepub fn smp2(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 6>
pub fn smp2(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 6>
Bits 6:8 - Channel 2 sample time selection
sourcepub fn smp3(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 9>
pub fn smp3(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 9>
Bits 9:11 - Channel 3 sample time selection
sourcepub fn smp4(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 12>
pub fn smp4(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 12>
Bits 12:14 - Channel 4 sample time selection
sourcepub fn smp5(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 15>
pub fn smp5(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 15>
Bits 15:17 - Channel 5 sample time selection
sourcepub fn smp6(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 18>
pub fn smp6(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 18>
Bits 18:20 - Channel 6 sample time selection
sourcepub fn smp7(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 21>
pub fn smp7(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 21>
Bits 21:23 - Channel 7 sample time selection
sourcepub fn smp8(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 24>
pub fn smp8(
&mut self
) -> FieldWriterRaw<'_, u32, SMPR2_SPEC, u8, SMP0_A, Safe, 3, 24>
Bits 24:26 - Channel 8 sample time selection
Methods from Deref<Target = W<SMPR2_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.