
AT32F413
Series Reference Manual
2022.06.27
Page 184
Rev 2.00
Figure 14-3
Block diagram of external clock mode A
EXT
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.
Figure 14-4 Counting in external clock mode A
30
COUNTER
OVFIF
TMR_CLK
110
STIS[2:0]
Clear
CNT_CLK
C2IRAW
000
C2IF[2:0]
31
32
0
1
2
3
4
Figure 14-5
Block diagram of external clock mode B
CK_DIV
Slave mode
control
External clock
control
EXT
Divider
Filterr
Downcounter
Polarity
selection
Note: The delay between the EXT signal on the input side and the actual clock of the counter is due to
the synchronization circuit.
Figure 14-6
Counting in external clock mode B
30
COUNTER
OVFIF
TMR_CLK
00
ESDIV[1:0]
Clear
CNT_CLK
EXT
0000
ESF[3:0]
31
32
0
1
2
3
4