pub struct R(_);Expand description
Register PAD_DAC2 reader
Implementations§
source§impl R
impl R
sourcepub fn pdac2_dac(&self) -> PDAC2_DAC_R
pub fn pdac2_dac(&self) -> PDAC2_DAC_R
Bits 3:10 - Configure DAC_2 output when RTCIO_PDAC2_DAC_XPD_FORCE is set to 1.
sourcepub fn pdac2_xpd_dac(&self) -> PDAC2_XPD_DAC_R
pub fn pdac2_xpd_dac(&self) -> PDAC2_XPD_DAC_R
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(&self) -> PDAC2_DAC_XPD_FORCE_R
pub fn pdac2_dac_xpd_force(&self) -> PDAC2_DAC_XPD_FORCE_R
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(&self) -> PDAC2_FUN_IE_R
pub fn pdac2_fun_ie(&self) -> PDAC2_FUN_IE_R
Bit 13 - Input enable in normal execution.
sourcepub fn pdac2_slp_oe(&self) -> PDAC2_SLP_OE_R
pub fn pdac2_slp_oe(&self) -> PDAC2_SLP_OE_R
Bit 14 - Output enable in sleep mode.
sourcepub fn pdac2_slp_ie(&self) -> PDAC2_SLP_IE_R
pub fn pdac2_slp_ie(&self) -> PDAC2_SLP_IE_R
Bit 15 - Input enable in sleep mode.
sourcepub fn pdac2_slp_sel(&self) -> PDAC2_SLP_SEL_R
pub fn pdac2_slp_sel(&self) -> PDAC2_SLP_SEL_R
Bit 16 - 1: enable sleep mode. 0: no sleep mode.
sourcepub fn pdac2_fun_sel(&self) -> PDAC2_FUN_SEL_R
pub fn pdac2_fun_sel(&self) -> PDAC2_FUN_SEL_R
Bits 17:18 - DAC_2 function selection.
sourcepub fn pdac2_mux_sel(&self) -> PDAC2_MUX_SEL_R
pub fn pdac2_mux_sel(&self) -> PDAC2_MUX_SEL_R
Bit 19 - 1: use RTC GPIO. 0: use digital GPIO.
sourcepub fn pdac2_rue(&self) -> PDAC2_RUE_R
pub fn pdac2_rue(&self) -> PDAC2_RUE_R
Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled.
sourcepub fn pdac2_rde(&self) -> PDAC2_RDE_R
pub fn pdac2_rde(&self) -> PDAC2_RDE_R
Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled.
sourcepub fn pdac2_drv(&self) -> PDAC2_DRV_R
pub fn pdac2_drv(&self) -> PDAC2_DRV_R
Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA: 1: ~10 mA. 2: ~20 mA. 3: ~40 mA.