pub struct W(_);Expand description
Register PAD_DAC2 writer
Implementations§
source§impl W
impl W
sourcepub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W<'_, 10>
pub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W<'_, 10>
Bit 10 - Power on DAC2. Usually we need to tristate PDAC2 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0
sourcepub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W<'_, 11>
pub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W<'_, 11>
Bit 11 - the input enable of the pad
sourcepub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W<'_, 12>
pub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W<'_, 12>
Bit 12 - the output enable of the pad in sleep status
sourcepub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W<'_, 13>
pub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W<'_, 13>
Bit 13 - the input enable of the pad in sleep status
sourcepub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W<'_, 14>
pub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W<'_, 14>
Bit 14 - the sleep status selection signal of the pad
sourcepub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W<'_, 15>
pub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W<'_, 15>
Bits 15:16 - the functional selection signal of the pad
sourcepub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W<'_, 17>
pub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W<'_, 17>
Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function
sourcepub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W<'_, 18>
pub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W<'_, 18>
Bit 18 - Power on DAC2. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0
sourcepub fn pdac2_dac(&mut self) -> PDAC2_DAC_W<'_, 19>
pub fn pdac2_dac(&mut self) -> PDAC2_DAC_W<'_, 19>
Bits 19:26 - PAD DAC2 control code.
sourcepub fn pdac2_rue(&mut self) -> PDAC2_RUE_W<'_, 27>
pub fn pdac2_rue(&mut self) -> PDAC2_RUE_W<'_, 27>
Bit 27 - the pull up enable of the pad
sourcepub fn pdac2_rde(&mut self) -> PDAC2_RDE_W<'_, 28>
pub fn pdac2_rde(&mut self) -> PDAC2_RDE_W<'_, 28>
Bit 28 - the pull down enable of the pad
sourcepub fn pdac2_hold(&mut self) -> PDAC2_HOLD_W<'_, 29>
pub fn pdac2_hold(&mut self) -> PDAC2_HOLD_W<'_, 29>
Bit 29 - hold the current value of the output when setting the hold to Ò1Ó
sourcepub fn pdac2_drv(&mut self) -> PDAC2_DRV_W<'_, 30>
pub fn pdac2_drv(&mut self) -> PDAC2_DRV_W<'_, 30>
Bits 30:31 - the driver strength of the pad