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
DISABLEDCounter disabled
ENCODERTI2Encoder mode, count up/down on TI2FP1
ENCODERTI1Encoder mode, count up/down on TI1FP2
ENCODERTI1TI2Encoder mode, count up/down on both TI1FP1 and TI2FP2
RESETRising edge of the selected trigger input (TRGI) reinitializes the counter
GATEDThe counter clock is enabled when the trigger input (TRGI) is high
TRIGGERThe counter starts at a rising edge of the trigger TRGI
EXTERNALRising edges of the selected trigger (TRGI) clock the counter