Struct efm32gg990::pcnt0::ctrl::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn mode(&mut self) -> _MODEW
[src]
pub fn mode(&mut self) -> _MODEW
Bits 0:1 - Mode Select
pub fn cntdir(&mut self) -> _CNTDIRW
[src]
pub fn cntdir(&mut self) -> _CNTDIRW
Bit 2 - Non-Quadrature Mode Counter Direction Control
pub fn edge(&mut self) -> _EDGEW
[src]
pub fn edge(&mut self) -> _EDGEW
Bit 3 - Edge Select
pub fn filt(&mut self) -> _FILTW
[src]
pub fn filt(&mut self) -> _FILTW
Bit 4 - Enable Digital Pulse Width Filter
pub fn rsten(&mut self) -> _RSTENW
[src]
pub fn rsten(&mut self) -> _RSTENW
Bit 5 - Enable PCNT Clock Domain Reset
pub fn hyst(&mut self) -> _HYSTW
[src]
pub fn hyst(&mut self) -> _HYSTW
Bit 8 - Enable Hysteresis
pub fn s1cdir(&mut self) -> _S1CDIRW
[src]
pub fn s1cdir(&mut self) -> _S1CDIRW
Bit 9 - Count direction determined by S1
pub fn cntev(&mut self) -> _CNTEVW
[src]
pub fn cntev(&mut self) -> _CNTEVW
Bits 10:11 - Controls when the counter counts
pub fn auxcntev(&mut self) -> _AUXCNTEVW
[src]
pub fn auxcntev(&mut self) -> _AUXCNTEVW
Bits 14:15 - Controls when the auxiliary counter counts