Struct esp32s3::rtc_cntl::touch_ctrl2::W
source · pub struct W(_);
Expand description
Register TOUCH_CTRL2
writer
Implementations§
source§impl W
impl W
sourcepub fn touch_drange(&mut self) -> TOUCH_DRANGE_W<'_, 2>
pub fn touch_drange(&mut self) -> TOUCH_DRANGE_W<'_, 2>
Bits 2:3 - TOUCH_DRANGE
sourcepub fn touch_drefl(&mut self) -> TOUCH_DREFL_W<'_, 4>
pub fn touch_drefl(&mut self) -> TOUCH_DREFL_W<'_, 4>
Bits 4:5 - TOUCH_DREFL
sourcepub fn touch_drefh(&mut self) -> TOUCH_DREFH_W<'_, 6>
pub fn touch_drefh(&mut self) -> TOUCH_DREFH_W<'_, 6>
Bits 6:7 - TOUCH_DREFH
sourcepub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W<'_, 8>
pub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W<'_, 8>
Bit 8 - TOUCH_XPD_BIAS
sourcepub fn touch_refc(&mut self) -> TOUCH_REFC_W<'_, 9>
pub fn touch_refc(&mut self) -> TOUCH_REFC_W<'_, 9>
Bits 9:11 - TOUCH pad0 reference cap
sourcepub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W<'_, 12>
pub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W<'_, 12>
Bit 12 - 1:use self bias 0:use bandgap bias
sourcepub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W<'_, 13>
pub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W<'_, 13>
Bit 13 - touch timer enable bit
sourcepub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W<'_, 14>
pub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W<'_, 14>
Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm
sourcepub fn touch_start_en(&mut self) -> TOUCH_START_EN_W<'_, 15>
pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W<'_, 15>
Bit 15 - 1: start touch fsm
sourcepub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W<'_, 16>
pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W<'_, 16>
Bit 16 - 1: to start touch fsm by SW
sourcepub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_, 17>
pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_, 17>
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<'_, 25>
pub fn touch_slp_cyc_div(&mut self) -> TOUCH_SLP_CYC_DIV_W<'_, 25>
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<'_, 27>
pub fn touch_timer_force_done(&mut self) -> TOUCH_TIMER_FORCE_DONE_W<'_, 27>
Bits 27:28 - force touch timer done
sourcepub fn touch_reset(&mut self) -> TOUCH_RESET_W<'_, 29>
pub fn touch_reset(&mut self) -> TOUCH_RESET_W<'_, 29>
Bit 29 - reset upgrade touch
sourcepub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W<'_, 30>
pub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W<'_, 30>
Bit 30 - touch clock force on
sourcepub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W<'_, 31>
pub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W<'_, 31>
Bit 31 - touch clock enable