AT32F425
Series Reference Manual
2022.03.30
Page 221
Ver 2.01
Figure 14-42
TMR15 block diagram
C2IFP1
C1IFP1
Prescaler
Output
control
Output
control
C2IRAW
C2ORAW
C1ORAW
C1OUT
C1NOUT
C2OUT
TRGOUT
To other timers
To ADC
BRK
Clock failure event
From clock control CSS(Clock Security System)
TMRx_BRK
TMRx_CH2
TMRx_CH1
TMRx_CH1
TMRx_CH2
TMRx_CH1C
C1INC
Reset, enable, and up/down counting
C1IRAW
Polarity selection
IS3
IS2
IS1
IS0
Trigger
controller
Slave mode
controller
Encoder
interface
DIV Prescaler
+/- CNT counter
Period register
Repetition
counter
Edge detector
Input filter
CxDT
(INPUT)
CxDT
(OUTPUT)
DTG
Filter
14.4.3 TMR15 functional overview
14.4.3.1 Count clock
The count clock of TMR15 can be provided by the internal clock (CK_INT), external clock (external clock
mode A) and internal trigger input (ISx)
Internal clock (CK_INT)
By default, the CK_INT divided by the prescaler is used to drive the counter to start counting.
Figure 14-43
Control circuit with CK_INT divided by 1
CK_INT
TMREN
COUNTER
12
11
13
14
15
16
00
01
02
03
04
05
06
07
External clock
(
TRGIN/EXT
)
The counter clock can be provided by TRGIN signals.
When SMSEL=3’111, external clock mode A is selected. Set the STIS[2: 0] bit to select TRGIN signal to
drive the counter to start counting.
Figure 14-44
Block diagram of external clock mode A
C1IFP2
C1IFP1
C1INC
ISx
CK_DIV
Trigger select
Slave mode
control
External clock
control
CI1RAW
Filter
Edge
detector
C2IF_Rising
C2IF_Falling
Polarity
selection
Note: The delay between the signal on the input side and the actual clock of the counter is due to the
synchronization circuit.