pub type W = W<TOUCH_PAD7_SPEC>;Expand description
Register TOUCH_PAD7 writer
Aliased Type§
struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn to_gpio(&mut self) -> TO_GPIO_W<'_, TOUCH_PAD7_SPEC>
pub fn to_gpio(&mut self) -> TO_GPIO_W<'_, TOUCH_PAD7_SPEC>
Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.GPIO27
Sourcepub fn fun_ie(&mut self) -> FUN_IE_W<'_, TOUCH_PAD7_SPEC>
pub fn fun_ie(&mut self) -> FUN_IE_W<'_, TOUCH_PAD7_SPEC>
Bit 13 - the input enable of the pad
Sourcepub fn slp_oe(&mut self) -> SLP_OE_W<'_, TOUCH_PAD7_SPEC>
pub fn slp_oe(&mut self) -> SLP_OE_W<'_, TOUCH_PAD7_SPEC>
Bit 14 - the output enable of the pad in sleep status
Sourcepub fn slp_ie(&mut self) -> SLP_IE_W<'_, TOUCH_PAD7_SPEC>
pub fn slp_ie(&mut self) -> SLP_IE_W<'_, TOUCH_PAD7_SPEC>
Bit 15 - the input enable of the pad in sleep status
Sourcepub fn slp_sel(&mut self) -> SLP_SEL_W<'_, TOUCH_PAD7_SPEC>
pub fn slp_sel(&mut self) -> SLP_SEL_W<'_, TOUCH_PAD7_SPEC>
Bit 16 - the sleep status selection signal of the pad
Sourcepub fn fun_sel(&mut self) -> FUN_SEL_W<'_, TOUCH_PAD7_SPEC>
pub fn fun_sel(&mut self) -> FUN_SEL_W<'_, TOUCH_PAD7_SPEC>
Bits 17:18 - the functional selection signal of the pad
Sourcepub fn mux_sel(&mut self) -> MUX_SEL_W<'_, TOUCH_PAD7_SPEC>
pub fn mux_sel(&mut self) -> MUX_SEL_W<'_, TOUCH_PAD7_SPEC>
Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function
Sourcepub fn xpd(&mut self) -> XPD_W<'_, TOUCH_PAD7_SPEC>
pub fn xpd(&mut self) -> XPD_W<'_, TOUCH_PAD7_SPEC>
Bit 20 - touch sensor power on.
Sourcepub fn tie_opt(&mut self) -> TIE_OPT_W<'_, TOUCH_PAD7_SPEC>
pub fn tie_opt(&mut self) -> TIE_OPT_W<'_, TOUCH_PAD7_SPEC>
Bit 21 - default touch sensor tie option. 0: tie low 1: tie high.
Sourcepub fn start(&mut self) -> START_W<'_, TOUCH_PAD7_SPEC>
pub fn start(&mut self) -> START_W<'_, TOUCH_PAD7_SPEC>
Bit 22 - start touch sensor.
Sourcepub fn dac(&mut self) -> DAC_W<'_, TOUCH_PAD7_SPEC>
pub fn dac(&mut self) -> DAC_W<'_, TOUCH_PAD7_SPEC>
Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100.
Sourcepub fn rue(&mut self) -> RUE_W<'_, TOUCH_PAD7_SPEC>
pub fn rue(&mut self) -> RUE_W<'_, TOUCH_PAD7_SPEC>
Bit 27 - the pull up enable of the pad
Sourcepub fn rde(&mut self) -> RDE_W<'_, TOUCH_PAD7_SPEC>
pub fn rde(&mut self) -> RDE_W<'_, TOUCH_PAD7_SPEC>
Bit 28 - the pull down enable of the pad
Sourcepub fn drv(&mut self) -> DRV_W<'_, TOUCH_PAD7_SPEC>
pub fn drv(&mut self) -> DRV_W<'_, TOUCH_PAD7_SPEC>
Bits 29:30 - the driver strength of the pad
Sourcepub fn hold(&mut self) -> HOLD_W<'_, TOUCH_PAD7_SPEC>
pub fn hold(&mut self) -> HOLD_W<'_, TOUCH_PAD7_SPEC>
Bit 31 - hold the current value of the output when setting the hold to Ò1Ó