[−][src]Type Definition efm32pg12_pac::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:2 - Mode Select
pub fn filt(&self) -> FILT_R
[src]
Bit 3 - Enable Digital Pulse Width Filter
pub fn rsten(&self) -> RSTEN_R
[src]
Bit 4 - Enable PCNT Clock Domain Reset
pub fn cntrsten(&self) -> CNTRSTEN_R
[src]
Bit 5 - Enable CNT Reset
pub fn auxcntrsten(&self) -> AUXCNTRSTEN_R
[src]
Bit 6 - Enable AUXCNT Reset
pub fn debughalt(&self) -> DEBUGHALT_R
[src]
Bit 7 - Debug Mode Halt Enable
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 12:13 - Controls When the Auxiliary Counter Counts
pub fn cntdir(&self) -> CNTDIR_R
[src]
Bit 14 - Non-Quadrature Mode Counter Direction Control
pub fn edge(&self) -> EDGE_R
[src]
Bit 15 - Edge Select
pub fn tccmode(&self) -> TCCMODE_R
[src]
Bits 16:17 - Sets the Mode for Triggered Compare and Clear
pub fn tccpresc(&self) -> TCCPRESC_R
[src]
Bits 19:20 - Set the LFA Prescaler for Triggered Compare and Clear
pub fn tcccomp(&self) -> TCCCOMP_R
[src]
Bits 22:23 - Triggered Compare and Clear Compare Mode
pub fn prsgateen(&self) -> PRSGATEEN_R
[src]
Bit 24 - PRS Gate Enable
pub fn tccprspol(&self) -> TCCPRSPOL_R
[src]
Bit 25 - TCC PRS Polarity Select
pub fn tccprssel(&self) -> TCCPRSSEL_R
[src]
Bits 26:29 - TCC PRS Channel Select
pub fn topbhfsel(&self) -> TOPBHFSEL_R
[src]
Bit 31 - TOPB High Frequency Value Select