[−][src]Type Definition efm32hg309f64::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:1 - Mode Select
pub fn cntdir(&mut self) -> CNTDIR_W
[src]
Bit 2 - Non-Quadrature Mode Counter Direction Control
pub fn edge(&mut self) -> EDGE_W
[src]
Bit 3 - Edge Select
pub fn filt(&mut self) -> FILT_W
[src]
Bit 4 - Enable Digital Pulse Width Filter
pub fn rsten(&mut self) -> RSTEN_W
[src]
Bit 5 - Enable PCNT Clock Domain Reset
pub fn auxcntrsten(&mut self) -> AUXCNTRSTEN_W
[src]
Bit 6 - Enable AUXCNT Reset
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 14:15 - Controls when the auxiliary counter counts
pub fn tccmode(&mut self) -> TCCMODE_W
[src]
Bits 18:19 - Sets the mode for triggered compare and clear
pub fn tccpresc(&mut self) -> TCCPRESC_W
[src]
Bits 22:23 - Set the LFA prescaler for triggered compare and clear
pub fn tcccomp(&mut self) -> TCCCOMP_W
[src]
Bits 25:26 - Triggered compare and clear compare mode
pub fn prsgateen(&mut self) -> PRSGATEEN_W
[src]
Bit 27 - PRS gate enable
pub fn tccprspol(&mut self) -> TCCPRSPOL_W
[src]
Bit 28 - TCC PRS polarity select
pub fn tccprssel(&mut self) -> TCCPRSSEL_W
[src]
Bits 29:31 - TCC PRS Channel Select