CHAPTER 9 8-BIT TIMERS H0 AND H1
Preliminary User’s Manual U17260EJ3V1UD
267
Figure 9-5. Format of 8-Bit Timer H Mode Register 0 (TMHMD0)
TMHE0
Stops timer count operation (counter is cleared to 0)
Enables timer count operation (count operation started by inputting clock)
TMHE0
0
1
Timer operation enable
TMHMD0
CKS02
CKS01
CKS00
TMMD01 TMMD00 TOLEV0
TOEN0
Address: FF69H After reset: 00H R/W
f
PRS
f
PRS
/2
f
PRS
/2
2
f
PRS
/2
6
f
PRS
/2
10
TM50 output
Note
Setting prohibited
CKS02
0
0
0
0
1
1
CKS01
0
0
1
1
0
0
CKS00
0
1
0
1
0
1
f
PRS
=
2 MHz
2 MHz
1 MHz
500 kHz
31.25 kHz
1.95 kHz
Count clock selection
Other than above
Interval timer mode
PWM output mode
Setting prohibited
TMMD01
0
1
TMMD00
0
0
Timer operation mode
Low level
High level
TOLEV0
0
1
Timer output level control (in default mode)
Disables output
Enables output
TOEN0
0
1
Timer output control
Other than above
<7>
6
5
4
3
2
<1>
<0>
f
PRS
=
5 MHz
5 MHz
2.5 MHz
1.25 MHz
78.13 kHz
4.88 kHz
f
PRS
=
10 MHz
10 MHz
5 MHz
2.5 MHz
156.25 kHz
9.77 kHz
f
PRS
=
20 MHz
20 MHz
10 MHz
5 MHz
312.5 kHz
19.54 kHz
Note
Note the following points when selecting the TM50 output as the count clock.
•
Mode in which the count clock is cleared and started upon a match of TM50 and CR50 (TMC506 = 0)
Start the operation of the 8-bit timer/event counter 50 first and then enable the timer F/F inversion
operation (TMC501 = 1).
•
PWM mode (TMC506 = 1)
Start the operation of the 8-bit timer/event counter 50 first and then set the count clock to make the duty =
50%.
It is not necessary to enable the TO50 pin as a timer output pin in any mode.