pub struct W(/* private fields */);
Expand description
Register DIFSEL
writer
Implementations§
source§impl W
impl W
sourcepub fn difsel0(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 0>
pub fn difsel0( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 0>
Bit 0 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel1(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 1>
pub fn difsel1( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 1>
Bit 1 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel2(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 2>
pub fn difsel2( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 2>
Bit 2 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel3(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 3>
pub fn difsel3( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 3>
Bit 3 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel4(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 4>
pub fn difsel4( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 4>
Bit 4 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel5(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 5>
pub fn difsel5( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 5>
Bit 5 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel6(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 6>
pub fn difsel6( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 6>
Bit 6 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel7(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 7>
pub fn difsel7( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 7>
Bit 7 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel8(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 8>
pub fn difsel8( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 8>
Bit 8 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel9(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 9>
pub fn difsel9( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 9>
Bit 9 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel10(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 10>
pub fn difsel10( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 10>
Bit 10 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel11(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 11>
pub fn difsel11( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 11>
Bit 11 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel12(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 12>
pub fn difsel12( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 12>
Bit 12 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel13(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 13>
pub fn difsel13( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 13>
Bit 13 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel14(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 14>
pub fn difsel14( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 14>
Bit 14 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel15(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 15>
pub fn difsel15( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 15>
Bit 15 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel16(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 16>
pub fn difsel16( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 16>
Bit 16 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel17(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 17>
pub fn difsel17( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 17>
Bit 17 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel18(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 18>
pub fn difsel18( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 18>
Bit 18 - ADC channel differential or single-ended mode for channel
sourcepub fn difsel19(
&mut self
) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 19>
pub fn difsel19( &mut self ) -> BitWriterRaw<'_, u32, DIFSEL_SPEC, DIFSEL0_A, BitM, 19>
Bit 19 - ADC channel differential or single-ended mode for channel
Methods from Deref<Target = W<DIFSEL_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.