pub struct W(_);
Expand description
Register TOUCH_PAD%s
writer
Implementations§
source§impl W
impl W
sourcepub fn slp_sel(&mut self) -> SLP_SEL_W<'_, 16>
pub fn slp_sel(&mut self) -> SLP_SEL_W<'_, 16>
Bit 16 - 0: no sleep mode. 1: enable sleep mode.
sourcepub fn mux_sel(&mut self) -> MUX_SEL_W<'_, 19>
pub fn mux_sel(&mut self) -> MUX_SEL_W<'_, 19>
Bit 19 - Connect the RTC pad input to digital pad input. 0 is available.
sourcepub fn tie_opt(&mut self) -> TIE_OPT_W<'_, 21>
pub fn tie_opt(&mut self) -> TIE_OPT_W<'_, 21>
Bit 21 - The tie option of touch sensor. 0: tie low. 1: tie high.
sourcepub fn dac(&mut self) -> DAC_W<'_, 23>
pub fn dac(&mut self) -> DAC_W<'_, 23>
Bits 23:25 - Touch sensor slope control. 3-bit for each touch pad, defaults to 0x4.
sourcepub fn rue(&mut self) -> RUE_W<'_, 27>
pub fn rue(&mut self) -> RUE_W<'_, 27>
Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled.
sourcepub fn rde(&mut self) -> RDE_W<'_, 28>
pub fn rde(&mut self) -> RDE_W<'_, 28>
Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled.
Methods from Deref<Target = W<TOUCH_PAD_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more