pub struct W(_);Expand description
Register TOUCH_CTRL2 writer
Implementations
sourceimpl W
impl W
sourcepub fn touch_drange(&mut self) -> TOUCH_DRANGE_W<'_>
pub fn touch_drange(&mut self) -> TOUCH_DRANGE_W<'_>
Bits 2:3 - TOUCH_DRANGE
sourcepub fn touch_drefl(&mut self) -> TOUCH_DREFL_W<'_>
pub fn touch_drefl(&mut self) -> TOUCH_DREFL_W<'_>
Bits 4:5 - TOUCH_DREFL
sourcepub fn touch_drefh(&mut self) -> TOUCH_DREFH_W<'_>
pub fn touch_drefh(&mut self) -> TOUCH_DREFH_W<'_>
Bits 6:7 - TOUCH_DREFH
sourcepub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W<'_>
pub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W<'_>
Bit 8 - TOUCH_XPD_BIAS
sourcepub fn touch_refc(&mut self) -> TOUCH_REFC_W<'_>
pub fn touch_refc(&mut self) -> TOUCH_REFC_W<'_>
Bits 9:11 - TOUCH pad0 reference cap
sourcepub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W<'_>
pub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W<'_>
Bit 12 - 1:use self bias 0:use bandgap bias
sourcepub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W<'_>
pub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W<'_>
Bit 13 - touch timer enable bit
sourcepub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W<'_>
pub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W<'_>
Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm
sourcepub fn touch_start_en(&mut self) -> TOUCH_START_EN_W<'_>
pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W<'_>
Bit 15 - 1: start touch fsm
sourcepub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W<'_>
pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W<'_>
Bit 16 - 1: to start touch fsm by SW
sourcepub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_>
pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_>
Bits 17:24 - the waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD
sourcepub fn touch_slp_cyc_div(&mut self) -> TOUCH_SLP_CYC_DIV_W<'_>
pub fn touch_slp_cyc_div(&mut self) -> TOUCH_SLP_CYC_DIV_W<'_>
Bits 25:26 - when a touch pad is active sleep cycle could be divided by this number
sourcepub fn touch_timer_force_done(&mut self) -> TOUCH_TIMER_FORCE_DONE_W<'_>
pub fn touch_timer_force_done(&mut self) -> TOUCH_TIMER_FORCE_DONE_W<'_>
Bits 27:28 - force touch timer done
sourcepub fn touch_reset(&mut self) -> TOUCH_RESET_W<'_>
pub fn touch_reset(&mut self) -> TOUCH_RESET_W<'_>
Bit 29 - reset upgrade touch
sourcepub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W<'_>
pub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W<'_>
Bit 30 - touch clock force on
sourcepub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W<'_>
pub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W<'_>
Bit 31 - touch clock enable
Methods from Deref<Target = W<TOUCH_CTRL2_SPEC>>
Trait Implementations
sourceimpl From<W<TOUCH_CTRL2_SPEC>> for W
impl From<W<TOUCH_CTRL2_SPEC>> for W
sourcefn from(writer: W<TOUCH_CTRL2_SPEC>) -> Self
fn from(writer: W<TOUCH_CTRL2_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more