NEC 78K0 User Manual page 184

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

Advertisement

Remarks 1. f
: X1 input clock oscillation frequency
X
2. Figures in parentheses apply to operation at f
Figure 8-6. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
Address: FF6CH
TMHMD1
Cautions 1. When the Ring-OSC clock is selected as the clock to be supplied to the CPU, the clock of the
Ring-OSC oscillator is divided and supplied as the count clock. If the count clock is the
Ring-OSC clock, the operation of 8-bit timer H1 is not guaranteed (except when CKS12,
CKS11, CKS10 = 1, 0, 1 (f
2. When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
3. In the PWM output 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).
4. 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.
184
CHAPTER 8 8-BIT TIMERS H0 AND H1
After reset: 00H
R/W
<7>
6
5
TMHE1
CKS12
CKS11
TMHE1
0
Stops timer count operation (counter is cleared to 0)
1
Enables timer count operation (count operation started by inputting clock)
CKS12
CKS11
CKS10
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
Other than above
TMMD11
TMMD10
0
0
Interval timer mode
0
1
Carrier generator mode
1
0
PWM output mode
Other than above
Setting prohibited
TOLEV1
Timer output level control (in default mode)
0
Low level
1
High level
TOEN1
0
Disables output
1
Enables output
7
/2
)).
R
User's Manual U16227EJ2V0UD
= 10 MHz.
X
4
3
2
CKS10
TMMD11 TMMD10 TOLEV1
Timer operation enable
Count clock (f
) selection
CNT
(10 MHz)
f
X
2
f
/2
(2.5 MHz)
X
4
f
/2
(625 kHz)
X
6
f
/2
(156.25 kHz)
X
12
f
/2
(2.44 kHz)
X
7
f
/2
(1.88 kHz (TYP.))
R
Setting prohibited
Timer operation mode
Timer output control
<1>
<0>
TOEN1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents