Struct efr32xg12p::pcnt0::ctrl::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn mode(&mut self) -> _MODEW
[src]
Bits 0:2 - Mode Select
fn filt(&mut self) -> _FILTW
[src]
Bit 3 - Enable Digital Pulse Width Filter
fn rsten(&mut self) -> _RSTENW
[src]
Bit 4 - Enable PCNT Clock Domain Reset
fn cntrsten(&mut self) -> _CNTRSTENW
[src]
Bit 5 - Enable CNT Reset
fn auxcntrsten(&mut self) -> _AUXCNTRSTENW
[src]
Bit 6 - Enable AUXCNT Reset
fn debughalt(&mut self) -> _DEBUGHALTW
[src]
Bit 7 - Debug Mode Halt Enable
fn hyst(&mut self) -> _HYSTW
[src]
Bit 8 - Enable Hysteresis
fn s1cdir(&mut self) -> _S1CDIRW
[src]
Bit 9 - Count direction determined by S1
fn cntev(&mut self) -> _CNTEVW
[src]
Bits 10:11 - Controls when the counter counts
fn auxcntev(&mut self) -> _AUXCNTEVW
[src]
Bits 12:13 - Controls when the auxiliary counter counts
fn cntdir(&mut self) -> _CNTDIRW
[src]
Bit 14 - Non-Quadrature Mode Counter Direction Control
fn edge(&mut self) -> _EDGEW
[src]
Bit 15 - Edge Select
fn tccmode(&mut self) -> _TCCMODEW
[src]
Bits 16:17 - Sets the mode for triggered compare and clear
fn tccpresc(&mut self) -> _TCCPRESCW
[src]
Bits 19:20 - Set the LFA prescaler for triggered compare and clear
fn tcccomp(&mut self) -> _TCCCOMPW
[src]
Bits 22:23 - Triggered compare and clear compare mode
fn prsgateen(&mut self) -> _PRSGATEENW
[src]
Bit 24 - PRS gate enable
fn tccprspol(&mut self) -> _TCCPRSPOLW
[src]
Bit 25 - TCC PRS polarity select
fn tccprssel(&mut self) -> _TCCPRSSELW
[src]
Bits 26:29 - TCC PRS Channel Select
fn topbhfsel(&mut self) -> _TOPBHFSELW
[src]
Bit 31 - TOPB High frequency value select