Type Alias R

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

Register CR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn tsce(&self) -> TSCE_R

Bit 0 - Touch sensing controller enable

Source

pub fn start(&self) -> START_R

Bit 1 - Start a new acquisition

Source

pub fn am(&self) -> AM_R

Bit 2 - Acquisition mode

Source

pub fn syncpol(&self) -> SYNCPOL_R

Bit 3 - Synchronization pin polarity

Source

pub fn iodef(&self) -> IODEF_R

Bit 4 - I/O Default mode

Source

pub fn mcv(&self) -> MCV_R

Bits 5:7 - Max count value

Source

pub fn pgpsc(&self) -> PGPSC_R

Bits 12:14 - pulse generator prescaler

Source

pub fn sspsc(&self) -> SSPSC_R

Bit 15 - Spread spectrum prescaler

Source

pub fn sse(&self) -> SSE_R

Bit 16 - Spread spectrum enable

Source

pub fn ssd(&self) -> SSD_R

Bits 17:23 - Spread spectrum deviation

Source

pub fn ctpl(&self) -> CTPL_R

Bits 24:27 - Charge transfer pulse low

Source

pub fn ctph(&self) -> CTPH_R

Bits 28:31 - Charge transfer pulse high

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more