General-purpose timers (TIM2/TIM3/TIM4/TIM5) RM0440
1230/2126 RM0440 Rev 4
29.4.2 TIM2/TIM3/TIM4/TIM5 pins and internal signals
Table 268 and Table 269 in this section summarize the TIM inputs and outputs.
Table 268. TIM input/output pins
Pin name Signal type Description
TIM_CH1
TIM_CH2
TIM_CH3
TIM_CH4
Input/Output
Timer multi-purpose channels.
Each channel be used for capture, compare,
or PWM.
TIM_CH1 and TIM_CH2 can also be used
as external clock (below 1/4 of the
tim_ker_ck clock) , external trigger and
quadrature encoder inputs.
TIM_CH1, TIM_CH2 and TIM_CH3 can be
used to interface with digital hall effect
sensors.
TIM_ETR Input
External trigger input. This input can be
used as external trigger or as external clock
source. This input can receive a clock with a
frequency higher than the tim_ker_ck if the
tim_etr_in prescaler is used.
Table 269. TIM internal input/output signals
Internal signal name Signal type Description
tim_ti1_in[15:0]
tim_ti2_in[15:0]
tim_ti3_in[15:0]
tim_ti4_in[15:0]
Input
Internal timer inputs bus. These inputs can
be used for capture or as external clock
(below 1/4 of the tim_ker_ck clock) and for
quadrature encoder signals.
tim_etr[15:0] Input
External trigger internal input bus. These
inputs can be used as trigger, external clock
or for hardware cycle-by-cycle pulse width
control. These inputs can receive clock with
a frequency higher than the tim_ker_ck if the
tim_etr_in prescaler is used.
tim_itr[15:0] Input
Internal trigger input bus. These inputs can
be used for the slave mode controller or as a
input clock (below 1/4 of the tim_ker_ck
clock).
tim_trgo Output
Internal trigger output. This trigger can
trigger other on-chip peripherals.
tim_ocref_clr[7:0] Input
Timer tim_ocref_clr input bus. These inputs
can be used to clear the tim_ocxref signals,
typically for hardware cycle-by-cycle pulse
width control.
tim_pclk Input Timer APB clock.