[−][src]Enum imxrt1062_tmr1::ctrl::CM_A
Count Mode
Value on reset: 0
Variants
0: No operation
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].
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.
3: Count rising edges of primary source while secondary input high active
4: Quadrature count mode, uses primary and secondary sources
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.
6: Edge of secondary source triggers primary count until compare
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]
fn clone(&self) -> CM_A
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,