NEC 78K0 User Manual page 237

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

Advertisement

Figure 9-6. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
Address: FF6CH
<7>
TMHMD1
TMHE1
TMHE1
CKS12
TMMD11
Other than above
TOLEV1
TOEN1
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.
CHAPTER 9 8-BIT TIMERS H0 AND H1
After reset: 00H
R/W
6
5
CKS12
CKS11
CKS10
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
0
0
1
f
0
1
0
f
0
1
1
f
1
0
0
f
1
0
1
f
Other than above
Setting prohibited
TMMD10
0
0
Interval timer mode
0
1
Carrier generator mode
*
1
0
PWM output mode
Setting prohibited
Timer output level control (in default mode)
0
Low level
1
High level
0
Disables output
1
Enables output
7
/2
)).
R
User's Manual U15947EJ2V0UD
4
3
2
TMMD11 TMMD10 TOLEV1
Timer operation enable
Count clock (f
) selection
CNT
(10 MHz)
X
2
(2.5 MHz)
/2
X
4
/2
(625 kHz)
X
6
/2
(156.25 kHz)
X
12
/2
(2.44 kHz)
X
7
/2
(1.88 kHz (TYP.))
R
Timer operation mode
Timer output control
<1>
<0>
TOEN1
237

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents