![background image](http://html.mh-extra.com/html/nec/78k0-kd1-series/78k0-kd1-series_user-manual_249250184.webp)
CHAPTER 8 8-BIT TIMERS H0 AND H1
Preliminary User’s Manual U16315EJ1V0UD
184
Figure 8-4. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
TMHE1
Stops timer count operation
Enables timer count operation (count operation started by inputting clock)
TMHE1
0
1
Timer operation enable
TMHMD1
CKS12
CKS11
CKS10
TMMD11 TMMD10 TOLEV1
TOEN1
Address: FF6CH After reset: 00H R/W
f
X
f
X
/2
2
f
X
/2
4
f
X
/2
6
f
X
/2
12
f
R
/2
7
CKS12
0
0
0
0
1
1
CKS11
0
0
1
1
0
0
CKS10
0
1
0
1
0
1
(10 MHz)
(2.5 MHz)
(625 kHz)
(156.25 kHz)
(2.44 kHz)
(1.88 kHz (TYP.))
Count clock (f
CNT
) selection
Setting prohibited
Other than above
Interval timer mode
Carrier generator mode
PWM pulse generator mode
Setting prohibited
TMMD11
0
0
1
TMMD10
0
1
0
Timer operation mode
Low level
High level
TOLEV1
0
1
Timer output level control (in default mode)
Disables output
Enables output
TOEN1
0
1
Timer output control
Other than above
7
6
5
4
3
2
1
0
Cautions 1. When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
2. In the PWM pulse generator mode and carrier generator mode, be sure to set 8-bit timer H
compare register 11 (CMP11) when starting the timer count operation (TMHE1 = 1) after the
timer count operation was stopped (TMHE1 = 0) (be sure to set again even if setting the same
value to the CMP11 register).
3. When the carrier generator mode is used, set so that the count clock frequency of TMH1
becomes more than 6 times the count clock frequency of TM51.
Remarks 1.
f
X
: X1 input clock oscillation frequency
2.
f
R
: Ring-OSC clock oscillation frequency
3.
Figures in parentheses apply to operation at f
X
= 10 MHz, f
R
= 240 kHz (TYP.).