Type Alias R

Source
pub type R = R<TOUCH_PAD8_SPEC>;
Expand description

Register TOUCH_PAD8 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn to_gpio(&self) -> TO_GPIO_R

Bit 19 - connect the rtc pad input to digital pad input Ó0Ó is availbale

Source

pub fn xpd(&self) -> XPD_R

Bit 20 - touch sensor power on.

Source

pub fn tie_opt(&self) -> TIE_OPT_R

Bit 21 - default touch sensor tie option. 0: tie low 1: tie high.

Source

pub fn start(&self) -> START_R

Bit 22 - start touch sensor.

Source

pub fn dac(&self) -> DAC_R

Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100.