[][src]Type Definition efm32hg309f64::pcnt0::ctrl::R

type R = R<u32, CTRL>;

Reader of register CTRL

Methods

impl R[src]

pub fn mode(&self) -> MODE_R[src]

Bits 0:1 - Mode Select

pub fn cntdir(&self) -> CNTDIR_R[src]

Bit 2 - Non-Quadrature Mode Counter Direction Control

pub fn edge(&self) -> EDGE_R[src]

Bit 3 - Edge Select

pub fn filt(&self) -> FILT_R[src]

Bit 4 - Enable Digital Pulse Width Filter

pub fn rsten(&self) -> RSTEN_R[src]

Bit 5 - Enable PCNT Clock Domain Reset

pub fn auxcntrsten(&self) -> AUXCNTRSTEN_R[src]

Bit 6 - Enable AUXCNT Reset

pub fn hyst(&self) -> HYST_R[src]

Bit 8 - Enable Hysteresis

pub fn s1cdir(&self) -> S1CDIR_R[src]

Bit 9 - Count direction determined by S1

pub fn cntev(&self) -> CNTEV_R[src]

Bits 10:11 - Controls when the counter counts

pub fn auxcntev(&self) -> AUXCNTEV_R[src]

Bits 14:15 - Controls when the auxiliary counter counts

pub fn tccmode(&self) -> TCCMODE_R[src]

Bits 18:19 - Sets the mode for triggered compare and clear

pub fn tccpresc(&self) -> TCCPRESC_R[src]

Bits 22:23 - Set the LFA prescaler for triggered compare and clear

pub fn tcccomp(&self) -> TCCCOMP_R[src]

Bits 25:26 - Triggered compare and clear compare mode

pub fn prsgateen(&self) -> PRSGATEEN_R[src]

Bit 27 - PRS gate enable

pub fn tccprspol(&self) -> TCCPRSPOL_R[src]

Bit 28 - TCC PRS polarity select

pub fn tccprssel(&self) -> TCCPRSSEL_R[src]

Bits 29:31 - TCC PRS Channel Select