[][src]Enum imxrt1062_tmr1::ctrl::LENGTH_A

pub enum LENGTH_A {
    LENGTH_0,
    LENGTH_1,
}

Count Length

Value on reset: 0

Variants

LENGTH_0

0: Count until roll over at $FFFF and continue from $0000.

LENGTH_1

1: Count until compare, then re-initialize. If counting up, a successful compare occurs when the counter reaches a COMP1 value. If counting down, a successful compare occurs when the counter reaches a COMP2 value. When output mode $4 is used, alternating values of COMP1 and COMP2 are used to generate successful comparisons. For example, the counter counts until a COMP1 value is reached, re-initializes, counts until COMP2 value is reached, re-initializes, counts until COMP1 value is reached, and so on.

Trait Implementations

impl Clone for LENGTH_A[src]

impl Copy for LENGTH_A[src]

impl Debug for LENGTH_A[src]

impl From<LENGTH_A> for bool[src]

impl PartialEq<LENGTH_A> for LENGTH_A[src]

impl StructuralPartialEq for LENGTH_A[src]

Auto Trait Implementations

impl Send for LENGTH_A

impl Sync for LENGTH_A

impl Unpin for LENGTH_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.