Enum stm32f103xx::tim1::smcr::SMSW [] [src]

pub enum SMSW {
    DISABLED,
    ENCODERTI2,
    ENCODERTI1,
    ENCODERTI1TI2,
    RESET,
    GATED,
    TRIGGER,
    EXTERNAL,
}

Values that can be written to the field SMS

Variants

Counter disabled

Encoder mode, count up/down on TI2FP1

Encoder mode, count up/down on TI1FP2

Encoder mode, count up/down on both TI1FP1 and TI2FP2

Rising edge of the selected trigger input (TRGI) reinitializes the counter

The counter clock is enabled when the trigger input (TRGI) is high

The counter starts at a rising edge of the trigger TRGI

Rising edges of the selected trigger (TRGI) clock the counter