CHAPTER 9 TIMER/COUNTER FUNCTION
350
User’s Manual U15195EJ5V0UD
Figure 9-69. Operation in Timer 2 Up/Down Count Mode (When TCRE0 Register’s ECEEn bit = 0,
ECREn Bit = 0, CLREn Bit = 0, OSTEn Bit = 0, CEEn Bit = 1, CASE1 Bit = 0)
f
CLK
ECLR
R
Note 2
CNT
INTTM2n (output)
CNT = 0
CT
UDSEn1, UDSEn0 bits
Note 1
FFFFH
0000H
0001H
Don't care
01B
10B
0002H
0001H
0000H
0001H
0002H
0003H
0002H
FFFEH
Notes 1.
UDSEn1, UDSEn0 bits of TCRE0 register
2.
Can control TM20/TM21 clear by subchannel 0/5 compare match or count direction.
Remarks 1.
f
CLK
: Base clock
2.
CNT: Count value of timer 2
CT: TM2n count signal input in 16-bit mode
ECLR: External control signal input from TCLR2 pin input
R: Compare match signal input (subchannel 0/5)
3.
n = 0, 1