[][src]Enum imxrt1062_pwm1::sm::smctrl::COMPMODE_A

pub enum COMPMODE_A {
    COMPMODE_0,
    COMPMODE_1,
}

Compare Mode

Value on reset: 0

Variants

COMPMODE_0

0: The VAL* registers and the PWM counter are compared using an "equal to" method. This means that PWM edges are only produced when the counter is equal to one of the VAL* register values. This implies that a PWMA output that is high at the end of a period will maintain this state until a match with VAL3 clears the output in the following period.

COMPMODE_1

1: The VAL* registers and the PWM counter are compared using an "equal to or greater than" method. This means that PWM edges are produced when the counter is equal to or greater than one of the VAL* register values. This implies that a PWMA output that is high at the end of a period could go low at the start of the next period if the starting counter value is greater than (but not necessarily equal to) the new VAL3 value.

Trait Implementations

impl Clone for COMPMODE_A[src]

impl Copy for COMPMODE_A[src]

impl Debug for COMPMODE_A[src]

impl From<COMPMODE_A> for bool[src]

impl PartialEq<COMPMODE_A> for COMPMODE_A[src]

impl StructuralPartialEq for COMPMODE_A[src]

Auto Trait Implementations

impl Send for COMPMODE_A

impl Sync for COMPMODE_A

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