CHAPTER 9 8-BIT TIMER H
User’s Manual U16896EJ2V0UD
317
(a) 8-bit timer H mode register 0 (TMHMD0)
TMHE0
Stop timer count operation (8-bit timer counter H0 = 00H)
Enable timer count operation (Counting starts when clock is input)
TMHE0
0
1
8-bit timer H0 operation enable
TMHMD0
CKSH02
CKSH01 CKSH00 TMMD01 TMMD00 TOLEV0
TOEN0
After reset: 00H R/W Address: FFFFF580H
f
XX
f
XX
/2
f
XX
/4
f
XX
/16
f
XX
/64
f
XX
/1024
CKSH02
0
0
0
0
1
1
CKSH01
0
0
1
1
0
0
CKSH00
0
1
0
1
0
1
Setting prohibited
125 ns
250 ns
1 s
4 s
64 s
Selection of count clock
Count clock
Note
Interval timer mode
Carrier generator mode
PWM output mode
Setting prohibited
TMMD01
0
0
1
1
TMMD00
0
1
0
1
8-bit timer H0 operation mode
Other than above
Low level
High level
TOLEV0
0
1
Timer output level control (default)
Disable output
Enable output
TOEN0
0
1
Timer output control
f
XX
= 16.0 MHz
<7>
6
5
4
3
2
<1>
<0>
μ
μ
μ
Setting prohibited
f
XX
= 10.0 MHz
Setting prohibited
100 ns
200 ns
800 ns
3.2 s
51.2 s
f
XX
= 20 MHz
μ
μ
100 ns
200 ns
400 ns
1.6 s
6.4 s
102.4 s
μ
μ
μ
Note
Set so as to satisfy the following conditions.
V
DD
= 4.0 to 5.5 V: Count clock
≤
10 MHz
V
DD
= 2.7 to 4.0 V: Count clock
≤
5 MHz
Cautions 1. When the TMHE0 bit = 1, setting bits other than those of the TMHMD0 register is
prohibited.
2. In the PWM output mode and carrier generator mode, be sure to set the CMP01
register when starting the timer count operation (TMHE0 bit = 1) after the timer
count operation was stopped (TMHE0 bit = 0) (be sure to set again even if setting
the same value to the CMP01 register).
3. When using the carrier generator mode, set 8-bit timer H0 count clock frequency
to six times 8-bit timer/event counter 50 count clock frequency or higher.