NEC 78K0S/KA1+ User Manual page 133

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

Figure 8-4. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
Address: FF70H
Symbol
TMHMD1
TMHE1
TMHE1
CKS12
TMMD11
Other than above
TOLEV1
TOEN1
Cautions 1. When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
2. In the PWM output 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).
Remarks 1. f
: Oscillation frequency of clock to peripheral hardware
XP
2. f
: Low-speed internal oscillation clock oscillation frequency
RL
3. Figures in parentheses apply to operation at f
CHAPTER 8 8-BIT TIMER H1
After reset: 00H
R/W
<7>
5
6
CKS12
CKS11
0
Stop timer count operation (counter is cleared to 0)
1
Enable timer count operation (count operation started by inputting clock)
CKS11
CKS10
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
Other than above
TMMD10
0
0
Interval timer mode
1
0
PWM output mode
Setting prohibited
Timer output level control (in default mode)
0
Low level
1
High level
0
Disable output
1
Enable output
User's Manual U16898EJ3V0UD
3
2
4
CKS10
TMMD11 TMMD10 TOLEV1
Timer operation enable
Count clock (f
) selection
CNT
f
(10 MHz)
XP
2
f
/2
(2.5 MHz)
XP
4
f
/2
(625 kHz)
XP
6
(156.25 kHz)
f
/2
XP
12
f
/2
(2.44 kHz)
XP
7
f
/2
(1.88 kHz (TYP.))
RL
Setting prohibited
Timer operation mode
Timer output control
= 10 MHz, f
= 240 kHz (TYP.).
XP
RL
<1>
<0>
TOEN1
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents