[][src]Enum imxrt1062_tmr1::ctrl::CM_A

#[repr(u8)]pub enum CM_A {
    CM_0,
    CM_1,
    CM_2,
    CM_3,
    CM_4,
    CM_5,
    CM_6,
    CM_7,
}

Count Mode

Value on reset: 0

Variants

CM_0

0: No operation

CM_1

1: Count rising edges of primary sourceRising edges are counted only when SCTRL[IPS] = 0. Falling edges are counted when SCTRL[IPS] = 1. If the primary count source is IP bus clock divide by 1, only rising edges are counted regardless of the value of SCTRL[IPS].

CM_2

2: Count rising and falling edges of primary sourceIP bus clock divide by 1 cannot be used as a primary count source in edge count mode.

CM_3

3: Count rising edges of primary source while secondary input high active

CM_4

4: Quadrature count mode, uses primary and secondary sources

CM_5

5: Count rising edges of primary source; secondary source specifies directionRising edges are counted only when SCTRL[IPS] = 0. Falling edges are counted when SCTRL[IPS] = 1.

CM_6

6: Edge of secondary source triggers primary count until compare

CM_7

7: Cascaded counter mode (up/down)The primary count source must be set to one of the counter outputs.

Trait Implementations

impl Clone for CM_A[src]

impl Copy for CM_A[src]

impl Debug for CM_A[src]

impl From<CM_A> for u8[src]

impl PartialEq<CM_A> for CM_A[src]

impl StructuralPartialEq for CM_A[src]

Auto Trait Implementations

impl Send for CM_A

impl Sync for CM_A

impl Unpin for CM_A

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.