Datasheet
78K0/Ix2 CHAPTER 9 8-BIT TIMER H1
R01UH0010EJ0500 Rev.5.00 337
Feb 28, 2012
Figure 9-4. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
TMHE1
Stops timer count operation (counter is cleared to 0)
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
Interval timer mode
Carrier generator mode
PWM output mode
Setting prohibited
TMMD11
0
0
1
1
TMMD10
0
1
0
1
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
<7>
6
5
4
3 2 <1>
<0>
CKS12
0
0
0
0
1
1
1
1
CKS11
0
0
1
1
0
0
1
1
CKS10
0
1
0
1
0
1
0
1
Count clock selection
fPRS
fPRS/2
2
fPRS/2
4
fPRS/2
6
fPRS/2
12
fIL/2
6
fIL/2
15
fIL
fPRS =
2 MHz
2 MHz
500 kHz
125 kHz
31.25 kHz
0.49 kHz
0.47 kHz (TYP.)
0.92 Hz (TYP.)
30 kHz (TYP.)
f
PRS =
5 MHz
5 MHz
1.25 MHz
312.5 kHz
78.13 kHz
1.22 kHz
f
PRS =
10 MHz
10 MHz
2.5 MHz
625 kHz
156.25 kHz
2.44 kHz
fPRS =
20
MHz
(when
using PLL)
20 MHz
5 MHz
1.25 MHz
312.5 kHz
4.88 kHz
Cautions 1. When TMHE1 = 1, setting the other bits of TMHMD1 is prohibited. However, TMHMD1 can be
refreshed (the same value is written).
2. In the PWM output mode and carrier generator mode, be sure to set the 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
CMP11).
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.