Type Alias W

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

Register TOUCH_PAD%s writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 13 - input enable in work mode

Source

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

Bit 14 - output enable in sleep mode

Source

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

Bit 15 - input enable in sleep mode

Source

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

Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode

Source

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

Bits 17:18 - function sel

Source

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

Bit 19 - 1: use RTC GPIO,0: use digital GPIO

Source

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

Bit 20 - TOUCH_XPD

Source

pub fn tie_opt(&mut self) -> TIE_OPT_W<'_, TOUCH_PAD_SPEC>

Bit 21 - TOUCH_TIE_OPT

Source

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

Bit 22 - TOUCH_START

Source

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

Bit 27 - RUE

Source

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

Bit 28 - RDE

Source

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

Bits 29:30 - DRV