[][src]Type Definition esp32::sens::sens_sar_touch_ctrl2_reg::W

type W = W<u32, SENS_SAR_TOUCH_CTRL2_REG>;

Writer for register SENS_SAR_TOUCH_CTRL2_REG

Methods

impl W[src]

pub fn sens_touch_meas_en_clr(&mut self) -> SENS_TOUCH_MEAS_EN_CLR_W[src]

Bit 30 - to clear reg_touch_meas_en

pub fn sens_touch_sleep_cycles(&mut self) -> SENS_TOUCH_SLEEP_CYCLES_W[src]

Bits 14:29 - sleep cycles for timer

pub fn sens_touch_start_force(&mut self) -> SENS_TOUCH_START_FORCE_W[src]

Bit 13 - 1: to start touch fsm by SW 0: to start touch fsm by timer

pub fn sens_touch_start_en(&mut self) -> SENS_TOUCH_START_EN_W[src]

Bit 12 - 1: start touch fsm valid when reg_touch_start_force is set

pub fn sens_touch_start_fsm_en(&mut self) -> SENS_TOUCH_START_FSM_EN_W[src]

Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers

pub fn sens_touch_meas_done(&mut self) -> SENS_TOUCH_MEAS_DONE_W[src]

Bit 10 - fsm set 1 to indicate touch touch meas is done

pub fn sens_touch_meas_en(&mut self) -> SENS_TOUCH_MEAS_EN_W[src]

Bits 0:9 - 10-bit register to indicate which pads are "touched"