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
DISABLED
Counter disabled
ENCODERTI2
Encoder mode, count up/down on TI2FP1
ENCODERTI1
Encoder mode, count up/down on TI1FP2
ENCODERTI1TI2
Encoder mode, count up/down on both TI1FP1 and TI2FP2
RESET
Rising edge of the selected trigger input (TRGI) reinitializes the counter
GATED
The counter clock is enabled when the trigger input (TRGI) is high
TRIGGER
The counter starts at a rising edge of the trigger TRGI
EXTERNAL
Rising edges of the selected trigger (TRGI) clock the counter