Enum gd32f1x0_hal::pac::timer14::smcfg::SMC_A [−][src]
#[repr(u8)] pub enum SMC_A { DISABLED, RESTARTMODE, PAUSEMODE, EVENTMODE, EXTERNALCLOCKMODE, }
Expand description
Slave mode control
Value on reset: 0
Variants
Expand description
0: Slave mode disabled - if CEN=1 then the prescaler is clocked directly by the internal clock.
Expand description
4: Restart Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
Expand description
5: Pause Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
Expand description
6: Event Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
Expand description
7: External Clock Mode 0 - Rising edges of the selected trigger (TRGI) clock the counter.