pub struct W(_);
Expand description
Register ADC_PAD
writer
Implementations§
§impl W
impl W
pub fn adc2_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 18>
pub fn adc2_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 18>
Bit 18 - the input enable of the pad
pub fn adc2_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 19>
pub fn adc2_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 19>
Bit 19 - the input enable of the pad in sleep status
pub fn adc2_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 20>
pub fn adc2_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 20>
Bit 20 - the sleep status selection signal of the pad
pub fn adc2_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, ADC_PAD_SPEC, u8, u8, Unsafe, 2, 21>
pub fn adc2_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, ADC_PAD_SPEC, u8, u8, Unsafe, 2, 21>
Bits 21:22 - the functional selection signal of the pad
pub fn adc1_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 23>
pub fn adc1_fun_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 23>
Bit 23 - the input enable of the pad
pub fn adc1_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 24>
pub fn adc1_slp_ie(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 24>
Bit 24 - the input enable of the pad in sleep status
pub fn adc1_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 25>
pub fn adc1_slp_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 25>
Bit 25 - the sleep status selection signal of the pad
pub fn adc1_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, ADC_PAD_SPEC, u8, u8, Unsafe, 2, 26>
pub fn adc1_fun_sel(
&mut self
) -> FieldWriterRaw<'_, u32, ADC_PAD_SPEC, u8, u8, Unsafe, 2, 26>
Bits 26:27 - the functional selection signal of the pad
pub fn adc2_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 28>
pub fn adc2_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 28>
Bit 28 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn adc1_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 29>
pub fn adc1_mux_sel(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 29>
Bit 29 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn adc2_hold(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 30>
pub fn adc2_hold(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 30>
Bit 30 - hold the current value of the output when setting the hold to Ò1Ó
pub fn adc1_hold(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 31>
pub fn adc1_hold(
&mut self
) -> BitWriterRaw<'_, u32, ADC_PAD_SPEC, bool, BitM, 31>
Bit 31 - hold the current value of the output when setting the hold to Ò1Ó
Methods from Deref<Target = W<ADC_PAD_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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.