pub struct W(_);
Expand description
Register PAD_DAC2
writer
Implementations§
source§impl W
impl W
sourcepub fn pdac2_dac(&mut self) -> PDAC2_DAC_W<'_, 3>
pub fn pdac2_dac(&mut self) -> PDAC2_DAC_W<'_, 3>
Bits 3:10 - Configure DAC_2 output when RTCIO_PDAC2_DAC_XPD_FORCE is set to 1.
sourcepub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W<'_, 11>
pub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W<'_, 11>
Bit 11 - When RTCIO_PDAC2_DAC_XPD_FORCE is set to 1, 1: enable DAC_2 output. 0: disable DAC_2 output.
sourcepub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W<'_, 12>
pub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W<'_, 12>
Bit 12 - 1: use RTCIO_PDAC2_XPD_DAC to control DAC_2 output. 0: use SAR ADC FSM to control DAC_2 output.
sourcepub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W<'_, 13>
pub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W<'_, 13>
Bit 13 - Input enable in normal execution.
sourcepub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W<'_, 14>
pub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W<'_, 14>
Bit 14 - Output enable in sleep mode.
sourcepub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W<'_, 15>
pub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W<'_, 15>
Bit 15 - Input enable in sleep mode.
sourcepub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W<'_, 16>
pub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W<'_, 16>
Bit 16 - 1: enable sleep mode. 0: no sleep mode.
sourcepub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W<'_, 17>
pub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W<'_, 17>
Bits 17:18 - DAC_2 function selection.
sourcepub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W<'_, 19>
pub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W<'_, 19>
Bit 19 - 1: use RTC GPIO. 0: use digital GPIO.
sourcepub fn pdac2_rue(&mut self) -> PDAC2_RUE_W<'_, 27>
pub fn pdac2_rue(&mut self) -> PDAC2_RUE_W<'_, 27>
Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled.
sourcepub fn pdac2_rde(&mut self) -> PDAC2_RDE_W<'_, 28>
pub fn pdac2_rde(&mut self) -> PDAC2_RDE_W<'_, 28>
Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled.
sourcepub fn pdac2_drv(&mut self) -> PDAC2_DRV_W<'_, 29>
pub fn pdac2_drv(&mut self) -> PDAC2_DRV_W<'_, 29>
Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA: 1: ~10 mA. 2: ~20 mA. 3: ~40 mA.