www
.mcu.com.cn
87
/
239
Rev.
1.00
CMS80F731x Reference Manual
10.
Timer Counter 2 (Timer2)
Timer 2 with additional compare/capture/reload functionality is one of the core peripheral units. It can be used for the
generation of various digital signals and event capture, such as pulse generation, pulse width modulation, pulse width
measurement, etc.
10.1 Overview
Block diagram of timer 2 with additional compare/capture/reload register functions is shown in the following figure:
T2EX
CLK
Sync
Compare
T2EXIF
TF2
/12
/2
0
1
Timer2
TH2
TL2
Reload
T2R[1:0]
Sync
T2
T2PS
Interrupt
Request
T2I[1:0]
16-Bit
Comparator
16-Bit
Comparator
16-Bit
Comparator
16-Bit
Comparator
CCL3/CCH3
CCL2/CCH2
CCL1/CCH1
RLDL/RLDH
Input/Output
Control
EXEN2
T2C3IF
T2C2IF
T2C1IF
T2C0IF
T2C3IE
T2C2IE
T2C1IE
T2C0IE
T2OVIE
CAP3
CC0
CC1
CC2
CC3
CAP2
CAP1
CAP0