Struct esp32::sens::sar_touch_ctrl2::R
source · pub struct R(_);
Expand description
Register SAR_TOUCH_CTRL2
reader
Implementations§
source§impl R
impl R
sourcepub fn touch_meas_en(&self) -> TOUCH_MEAS_EN_R
pub fn touch_meas_en(&self) -> TOUCH_MEAS_EN_R
Bits 0:9 - 10-bit register to indicate which pads are “touched”
sourcepub fn touch_meas_done(&self) -> TOUCH_MEAS_DONE_R
pub fn touch_meas_done(&self) -> TOUCH_MEAS_DONE_R
Bit 10 - fsm set 1 to indicate touch touch meas is done
sourcepub fn touch_start_fsm_en(&self) -> TOUCH_START_FSM_EN_R
pub fn touch_start_fsm_en(&self) -> TOUCH_START_FSM_EN_R
Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers
sourcepub fn touch_start_en(&self) -> TOUCH_START_EN_R
pub fn touch_start_en(&self) -> TOUCH_START_EN_R
Bit 12 - 1: start touch fsm valid when reg_touch_start_force is set
sourcepub fn touch_start_force(&self) -> TOUCH_START_FORCE_R
pub fn touch_start_force(&self) -> TOUCH_START_FORCE_R
Bit 13 - 1: to start touch fsm by SW 0: to start touch fsm by timer
sourcepub fn touch_sleep_cycles(&self) -> TOUCH_SLEEP_CYCLES_R
pub fn touch_sleep_cycles(&self) -> TOUCH_SLEEP_CYCLES_R
Bits 14:29 - sleep cycles for timer