Struct esp32::sens::sar_touch_ctrl1::W
source · pub struct W(_);
Expand description
Register SAR_TOUCH_CTRL1
writer
Implementations§
source§impl W
impl W
sourcepub fn touch_meas_delay(&mut self) -> TOUCH_MEAS_DELAY_W<'_, 0>
pub fn touch_meas_delay(&mut self) -> TOUCH_MEAS_DELAY_W<'_, 0>
Bits 0:15 - the meas length (in 8MHz)
sourcepub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_, 16>
pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W<'_, 16>
Bits 16:23 - the waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD
sourcepub fn touch_out_sel(&mut self) -> TOUCH_OUT_SEL_W<'_, 24>
pub fn touch_out_sel(&mut self) -> TOUCH_OUT_SEL_W<'_, 24>
Bit 24 - 1: when the counter is greater then the threshold the touch pad is considered as “touched” 0: when the counter is less than the threshold the touch pad is considered as “touched”
sourcepub fn touch_out_1en(&mut self) -> TOUCH_OUT_1EN_W<'_, 25>
pub fn touch_out_1en(&mut self) -> TOUCH_OUT_1EN_W<'_, 25>
Bit 25 - 1: wakeup interrupt is generated if SET1 is “touched” 0: wakeup interrupt is generated only if SET1 & SET2 is both “touched”
sourcepub fn xpd_hall_force(&mut self) -> XPD_HALL_FORCE_W<'_, 26>
pub fn xpd_hall_force(&mut self) -> XPD_HALL_FORCE_W<'_, 26>
Bit 26 - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor
sourcepub fn hall_phase_force(&mut self) -> HALL_PHASE_FORCE_W<'_, 27>
pub fn hall_phase_force(&mut self) -> HALL_PHASE_FORCE_W<'_, 27>
Bit 27 - 1: HALL PHASE is controlled by SW 0: HALL PHASE is controlled by FSM in ULP-coprocessor
Methods from Deref<Target = W<SAR_TOUCH_CTRL1_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