NEC 78K0 Series User Manual page 269

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

Figure 9-6. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
Address: FF6CH
TMHMD1
TMHE1
TMHE1
CKS12
TMMD11
TOLEV1
TOEN1
Cautions 1. When TMHE1 = 1, setting the other bits of TMHMD1 is prohibited.
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.
Remarks 1. f
: Peripheral hardware clock frequency
PRS
2. f
:
Internal low-speed oscillation clock frequency
RL
CHAPTER 9 8-BIT TIMERS H0 AND H1
After reset: 00H
R/W
<7>
5
6
CKS12
CKS11
0
Stops timer count operation (counter is cleared to 0)
1
Enables timer count operation (count operation started by inputting clock)
CKS11
CKS10
0
0
0
f
PRS
0
0
1
f
PRS
0
1
0
f
PRS
0
1
1
f
PRS
1
0
0
f
PRS
1
0
1
f
RL
1
1
0
f
RL
1
1
1
f
RL
TMMD10
0
0
Interval timer mode
0
1
Carrier generator mode
1
0
PWM output mode
1
1
Setting prohibited
Timer output level control (in default mode)
0
Low level
1
High level
0
Disables output
1
Enables output
Preliminary User's Manual U17260EJ3V1UD
3
2
4
CKS10
TMMD11 TMMD10 TOLEV1
Timer operation enable
Count clock selection
f
=
f
=
PRS
PRS
2 MHz
5 MHz
2 MHz
5 MHz
2
500 kHz
1.25 MHz
/2
4
/2
125 kHz
312.5 kHz
6
/2
31.25 kHz
78.13 kHz
12
0.49 kHz
1.22 kHz
/2
7
/2
1.88 kHz (TYP.)
9
/2
0.47 kHz (TYP.)
240 kHz (TYP.)
Timer operation mode
Timer output control
<1>
<0>
TOEN1
f
=
f
=
PRS
PRS
10 MHz
20 MHz
10 MHz
20 MHz
2.5 MHz
5 MHz
625 kHz
1.25 MHz
156.25 kHz
312.5 kHz
2.44 kHz
4.88 kHz
269

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents