Struct esp32s3_hal::pac::rtc_cntl::touch_scan_ctrl::R
pub struct R(_);
Expand description
Register TOUCH_SCAN_CTRL
reader
Implementations§
§impl R
impl R
pub fn touch_denoise_res(&self) -> FieldReaderRaw<u8, u8>
pub fn touch_denoise_res(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - De-noise resolution: 12/10/8/4 bit
pub fn touch_denoise_en(&self) -> BitReaderRaw<bool>
pub fn touch_denoise_en(&self) -> BitReaderRaw<bool>
Bit 2 - touch pad0 will be used to de-noise
pub fn touch_inactive_connection(&self) -> BitReaderRaw<bool>
pub fn touch_inactive_connection(&self) -> BitReaderRaw<bool>
Bit 8 - inactive touch pads connect to 1: gnd 0: HighZ
pub fn touch_shield_pad_en(&self) -> BitReaderRaw<bool>
pub fn touch_shield_pad_en(&self) -> BitReaderRaw<bool>
Bit 9 - touch pad14 will be used as shield
pub fn touch_scan_pad_map(&self) -> FieldReaderRaw<u16, u16>
pub fn touch_scan_pad_map(&self) -> FieldReaderRaw<u16, u16>
Bits 10:24 - touch scan mode pad enable map
pub fn touch_bufdrv(&self) -> FieldReaderRaw<u8, u8>
pub fn touch_bufdrv(&self) -> FieldReaderRaw<u8, u8>
Bits 25:27 - touch7 buffer driver strength
pub fn touch_out_ring(&self) -> FieldReaderRaw<u8, u8>
pub fn touch_out_ring(&self) -> FieldReaderRaw<u8, u8>
Bits 28:31 - select out ring pad
Methods from Deref<Target = R<TOUCH_SCAN_CTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<TOUCH_SCAN_CTRL_SPEC>> for R
impl From<R<TOUCH_SCAN_CTRL_SPEC>> for R
§fn from(reader: R<TOUCH_SCAN_CTRL_SPEC>) -> R
fn from(reader: R<TOUCH_SCAN_CTRL_SPEC>) -> R
Converts to this type from the input type.