Type Alias W

Source
pub type W = W<TOUCH_PAD7_SPEC>;
Expand description

Register TOUCH_PAD7 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Source

pub fn fun_ie(&mut self) -> FUN_IE_W<'_, TOUCH_PAD7_SPEC>

Bit 13 - the input enable of the pad

Source

pub fn slp_oe(&mut self) -> SLP_OE_W<'_, TOUCH_PAD7_SPEC>

Bit 14 - the output enable of the pad in sleep status

Source

pub fn slp_ie(&mut self) -> SLP_IE_W<'_, TOUCH_PAD7_SPEC>

Bit 15 - the input enable of the pad in sleep status

Source

pub fn slp_sel(&mut self) -> SLP_SEL_W<'_, TOUCH_PAD7_SPEC>

Bit 16 - the sleep status selection signal of the pad

Source

pub fn fun_sel(&mut self) -> FUN_SEL_W<'_, TOUCH_PAD7_SPEC>

Bits 17:18 - the functional selection signal of the pad

Source

pub fn mux_sel(&mut self) -> MUX_SEL_W<'_, TOUCH_PAD7_SPEC>

Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function

Source

pub fn xpd(&mut self) -> XPD_W<'_, TOUCH_PAD7_SPEC>

Bit 20 - touch sensor power on.

Source

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.

Source

pub fn start(&mut self) -> START_W<'_, TOUCH_PAD7_SPEC>

Bit 22 - start touch sensor.

Source

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.

Source

pub fn rue(&mut self) -> RUE_W<'_, TOUCH_PAD7_SPEC>

Bit 27 - the pull up enable of the pad

Source

pub fn rde(&mut self) -> RDE_W<'_, TOUCH_PAD7_SPEC>

Bit 28 - the pull down enable of the pad

Source

pub fn drv(&mut self) -> DRV_W<'_, TOUCH_PAD7_SPEC>

Bits 29:30 - the driver strength of the pad

Source

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Ó