CHAPTER 8 8-BIT TIMERS H0 AND H1
Preliminary User’s Manual U16315EJ1V0UD
183
Figure 8-3. Format of 8-Bit Timer H Mode Register 0 (TMHMD0)
TMHE0
Stops timer count operation
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
X
f
X
/2
f
X
/2
2
f
X
/2
6
f
X
/2
10
TO50
CKS02
0
0
0
0
1
1
CKS01
0
0
1
1
0
0
CKS00
0
1
0
1
0
1
(10 MHz)
(5 MHz)
(2.5 MHz)
(156.25 kHz)
(9.77 kHz)
Count clock (f
CNT
) selection
Setting prohibited
Other than above
Interval timer mode
PWM pulse generator 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
Cautions 1. When TMHE0 = 1, setting the other bits of the TMHMD0 register is prohibited.
2. In the PWM pulse generator mode, be sure to set 8-bit timer H compare register 10 (CMP10)
when starting the timer count operation (TMHE0 = 1) after the timer count operation was
stopped (TMHE0 = 0) (be sure to set again even if setting the same value to the CMP10
register).
Remarks 1.
f
X
: X1 input clock oscillation frequency
2.
Figures in parentheses apply to operation at f
X
= 10 MHz