[][src]Type Definition efm32pg12_pac::pcnt0::ctrl::W

type W = W<u32, CTRL>;

Writer for register CTRL

Methods

impl W[src]

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

Bits 0:2 - Mode Select

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

Bit 3 - Enable Digital Pulse Width Filter

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

Bit 4 - Enable PCNT Clock Domain Reset

pub fn cntrsten(&mut self) -> CNTRSTEN_W[src]

Bit 5 - Enable CNT Reset

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

Bit 6 - Enable AUXCNT Reset

pub fn debughalt(&mut self) -> DEBUGHALT_W[src]

Bit 7 - Debug Mode Halt Enable

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

Bit 8 - Enable Hysteresis

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

Bit 9 - Count Direction Determined By S1

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

Bits 10:11 - Controls When the Counter Counts

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

Bits 12:13 - Controls When the Auxiliary Counter Counts

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

Bit 14 - Non-Quadrature Mode Counter Direction Control

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

Bit 15 - Edge Select

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

Bits 16:17 - Sets the Mode for Triggered Compare and Clear

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

Bits 19:20 - Set the LFA Prescaler for Triggered Compare and Clear

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

Bits 22:23 - Triggered Compare and Clear Compare Mode

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

Bit 24 - PRS Gate Enable

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

Bit 25 - TCC PRS Polarity Select

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

Bits 26:29 - TCC PRS Channel Select

pub fn topbhfsel(&mut self) -> TOPBHFSEL_W[src]

Bit 31 - TOPB High Frequency Value Select