Enum lpc11uxx::ct16b1::ctcr::CTMW

source ·
pub enum CTMW {
    TIMER_MODE_EVERY_RI,
    RISING,
    FALLING,
    BOTH,
}
Expand description

Values that can be written to the field CTM

Variants§

§

TIMER_MODE_EVERY_RI

Timer Mode: every rising PCLK edge

§

RISING

Counter Mode: TC is incremented on rising edges on the CAP input selected by bits 3:2.

§

FALLING

Counter Mode: TC is incremented on falling edges on the CAP input selected by bits 3:2.

§

BOTH

Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.