CHAPTER 9 TIMER/COUNTER FUNCTION
326
User’s Manual U15195EJ5V0UD
Figure 9-64 shows the block diagram of timer 2.
Figure 9-64. Block Diagram of Timer 2
ED1
ECLR
CNT = MAX.
CNT = 0
R
CNT = MAX.
CNT = 0
R
CT
ED2
S/T
RA
RB
RN
Output
circuit 1
S/T
RA
RB
RN
Output
circuit 2
S/T
RA
RB
RN
Output
circuit 3
ED1
RELOAD2A
RELOAD2B
ED2
ED1
ECLR
CT
CTC
CASC
ED2
Subchannel 4
CVSE40
(16-bit)
CVPE40
(16-bit)
ED1
RELOAD2A
RELOAD2B
ED2
Subchannel 1
CVSE10
(16-bit)
CVPE10
(16-bit)
ED1
RELOAD2A
RELOAD2B
ED2
Subchannel 2
CVSE20
(16-bit)
CVPE20
(16-bit)
ED1
RELOAD2A
RELOAD2B
ED2
Subchannel 3
CVSE30
(16-bit)
CVPE30
(16-bit)
S/T
RA
RB
RN
Output
circuit 4
CVSE00
(16-bit)
TM20
(16-bit)
INTCC20
INTCC21
INTCC22
INTCC23
INTCC24
INTCC25
INTTM20
TO21
TO22
TO23
TO24
INTTM21
CVSE50
(16-bit)
TM21
(16-bit)
TINE5
edge selection
TINE4
edge selection
TINE3
edge selection
TINE2
edge selection
TINE1
edge selection
TINE0
edge selection
Input filter
Input filter
Input filter
Input filter
Input filter
Input filter
Timer
connection
selector
TCOUNTE1
edge selection
TCOUNTE0
f
CLK
edge selection
TCLR2/
INTP25
TI2/
INTP20
f
XX
/2
INTP24
INTP23
INTP22
INTP21
1/2, 1/4, 1/8,
1/16, 1/32,
1/64, 1/128
Subchannel 5
Subchannel 0
Selector
Selector
Selector
Remark
f
XX
: Internal system clock
f
CLK
: Base clock (20 MHz (MAX.))