Struct stm32g0::stm32g0c1::tim2::smcr::ECE_W [−][src]
pub struct ECE_W<'a> { /* fields omitted */ }
Expand description
Field ECE
writer - External clock enable This bit enables External clock mode 2. Note: Setting the ECE bit has the same effect as selecting external clock mode 1 with TRGI connected to ETRF (SMS=111 and TS=00111). It is possible to simultaneously use external clock mode 2 with the following slave modes: reset mode, gated mode and trigger mode. Nevertheless, TRGI must not be connected to ETRF in this case (TS bits must not be 00111). If external clock mode 1 and external clock mode 2 are enabled at the same time, the external clock input is ETRF.
Implementations
External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.