CHAPTER 9 TIMER/COUNTER FUNCTION
348
User’s Manual U15195EJ5V0UD
(2) Basic operation of timer 2
Figures 9-67 to 9-70 show the basic operation of timer 2.
Figure 9-67. Timer 2 Up Count Timing (When TCRE0 Register’s UDSEn1, UDSEn0 Bits = 00B,
ECEEn Bit = 0, ECREn Bit = 0, CLREn Bit = 0, CASE1 Bit = 0)
f
CLK
FFFDH (Stop)
FFFEH
FFFFH
0000H
1234H
1235H
0000H (Stop)
CT
CNT
R
Note 2
INTTM2n (output)
CNT = 0
OSTEn bit
Note 1
CEEn bit
Note 1
Notes 1.
Bits OSTE, CEE 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
R: Compare match signal input (subchannel 0/5)
3.
n = 0, 1