Struct esp32s2::rtc_cntl::touch_scan_ctrl::W
source · pub struct W(_);Expand description
Register TOUCH_SCAN_CTRL writer
Implementations§
source§impl W
impl W
sourcepub fn touch_denoise_res(&mut self) -> TOUCH_DENOISE_RES_W<'_, 0>
pub fn touch_denoise_res(&mut self) -> TOUCH_DENOISE_RES_W<'_, 0>
Bits 0:1 - Denoise resolution. 0: 12-bit; 1: 10-bit; 2: 8-bit; 3: 4-bit.
sourcepub fn touch_denoise_en(&mut self) -> TOUCH_DENOISE_EN_W<'_, 2>
pub fn touch_denoise_en(&mut self) -> TOUCH_DENOISE_EN_W<'_, 2>
Bit 2 - Touch pad 0 will be used to denoise.
sourcepub fn touch_inactive_connection(
&mut self
) -> TOUCH_INACTIVE_CONNECTION_W<'_, 8>
pub fn touch_inactive_connection( &mut self ) -> TOUCH_INACTIVE_CONNECTION_W<'_, 8>
Bit 8 - Inactive touch pads connect to 0: HighZ, 1: GND.
sourcepub fn touch_shield_pad_en(&mut self) -> TOUCH_SHIELD_PAD_EN_W<'_, 9>
pub fn touch_shield_pad_en(&mut self) -> TOUCH_SHIELD_PAD_EN_W<'_, 9>
Bit 9 - Touch pad 14 will be used as shield_pad.
sourcepub fn touch_scan_pad_map(&mut self) -> TOUCH_SCAN_PAD_MAP_W<'_, 10>
pub fn touch_scan_pad_map(&mut self) -> TOUCH_SCAN_PAD_MAP_W<'_, 10>
Bits 10:24 - Pad enable map for touch scan mode.
sourcepub fn touch_bufdrv(&mut self) -> TOUCH_BUFDRV_W<'_, 25>
pub fn touch_bufdrv(&mut self) -> TOUCH_BUFDRV_W<'_, 25>
Bits 25:27 - Touch 14 buffer driver strength.
sourcepub fn touch_out_ring(&mut self) -> TOUCH_OUT_RING_W<'_, 28>
pub fn touch_out_ring(&mut self) -> TOUCH_OUT_RING_W<'_, 28>
Bits 28:31 - Select out one pad as guard_ring.