pub type W = W<TOUCH_PAD_SPEC>;
Expand description
Register TOUCH_PAD%s
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn fun_ie(&mut self) -> FUN_IE_W<'_, TOUCH_PAD_SPEC>
pub fn fun_ie(&mut self) -> FUN_IE_W<'_, TOUCH_PAD_SPEC>
Bit 13 - input enable in work mode
Sourcepub fn slp_oe(&mut self) -> SLP_OE_W<'_, TOUCH_PAD_SPEC>
pub fn slp_oe(&mut self) -> SLP_OE_W<'_, TOUCH_PAD_SPEC>
Bit 14 - output enable in sleep mode
Sourcepub fn slp_ie(&mut self) -> SLP_IE_W<'_, TOUCH_PAD_SPEC>
pub fn slp_ie(&mut self) -> SLP_IE_W<'_, TOUCH_PAD_SPEC>
Bit 15 - input enable in sleep mode
Sourcepub fn slp_sel(&mut self) -> SLP_SEL_W<'_, TOUCH_PAD_SPEC>
pub fn slp_sel(&mut self) -> SLP_SEL_W<'_, TOUCH_PAD_SPEC>
Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode
Sourcepub fn fun_sel(&mut self) -> FUN_SEL_W<'_, TOUCH_PAD_SPEC>
pub fn fun_sel(&mut self) -> FUN_SEL_W<'_, TOUCH_PAD_SPEC>
Bits 17:18 - function sel
Sourcepub fn mux_sel(&mut self) -> MUX_SEL_W<'_, TOUCH_PAD_SPEC>
pub fn mux_sel(&mut self) -> MUX_SEL_W<'_, TOUCH_PAD_SPEC>
Bit 19 - 1: use RTC GPIO,0: use digital GPIO
Sourcepub fn xpd(&mut self) -> XPD_W<'_, TOUCH_PAD_SPEC>
pub fn xpd(&mut self) -> XPD_W<'_, TOUCH_PAD_SPEC>
Bit 20 - TOUCH_XPD
Sourcepub fn tie_opt(&mut self) -> TIE_OPT_W<'_, TOUCH_PAD_SPEC>
pub fn tie_opt(&mut self) -> TIE_OPT_W<'_, TOUCH_PAD_SPEC>
Bit 21 - TOUCH_TIE_OPT
Sourcepub fn start(&mut self) -> START_W<'_, TOUCH_PAD_SPEC>
pub fn start(&mut self) -> START_W<'_, TOUCH_PAD_SPEC>
Bit 22 - TOUCH_START
Sourcepub fn rue(&mut self) -> RUE_W<'_, TOUCH_PAD_SPEC>
pub fn rue(&mut self) -> RUE_W<'_, TOUCH_PAD_SPEC>
Bit 27 - RUE
Sourcepub fn rde(&mut self) -> RDE_W<'_, TOUCH_PAD_SPEC>
pub fn rde(&mut self) -> RDE_W<'_, TOUCH_PAD_SPEC>
Bit 28 - RDE
Sourcepub fn drv(&mut self) -> DRV_W<'_, TOUCH_PAD_SPEC>
pub fn drv(&mut self) -> DRV_W<'_, TOUCH_PAD_SPEC>
Bits 29:30 - DRV