[][src]Struct efm32gg11b820::pcnt0::ctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

Bits 0:2 - Mode Select

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

Bit 3 - Enable Digital Pulse Width Filter

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

Bit 4 - Enable PCNT Clock Domain Reset

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

Bit 5 - Enable CNT Reset

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

Bit 6 - Enable AUXCNT Reset

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

Bit 7 - Debug Mode Halt Enable

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

Bit 8 - Enable Hysteresis

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

Bit 9 - Count Direction Determined By S1

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

Bits 10:11 - Controls When the Counter Counts

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

Bits 12:13 - Controls When the Auxiliary Counter Counts

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

Bit 14 - Non-Quadrature Mode Counter Direction Control

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

Bit 15 - Edge Select

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

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

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

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

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

Bits 22:23 - Triggered Compare and Clear Compare Mode

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

Bit 24 - PRS Gate Enable

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

Bit 25 - TCC PRS Polarity Select

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

Bits 26:30 - TCC PRS Channel Select

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

Bit 31 - TOPB High Frequency Value Select

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self