NEC 78K0 User Manual page 235

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

Advertisement

Figure 9-5. Format of 8-Bit Timer H Mode Register 0 (TMHMD0)
Address: FF69H
TMHMD0
TMHE0
TMHE0
CKS02
TMMD01
Other than above
TOLEV0
TOEN0
Note To select the TM50 output as a count clock, start operation by setting 8-bit timer/event counter 50 in the
PWM output mode (bit 6 (TMC506) of the TMC50 register = 1), and then set CKS02, CKS01, and CKS00 to
1, 0, and 1, respectively. Set the high/low level width of the count clock so that the specifications of the
input width of TI50 are satisfied (see AC Characteristics (1) Basic operation in CHAPTER 30 to
CHAPTER 32). It is not necessary to enable the TO50 pin as a timer output pin (bit 0 (TOE50) of the TMC
register may be 0 or 1).
CHAPTER 9 8-BIT TIMERS H0 AND H1
After reset: 00H
R/W
<7>
5
6
CKS02
CKS01
0
Stops timer count operation (counter is cleared to 0)
1
Enables timer count operation (count operation started by inputting clock)
CKS01
CKS00
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
Other than above
TMMD00
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
Disables output
1
Enables output
User's Manual U15947EJ2V0UD
3
2
4
CKS00
TMMD01 TMMD00 TOLEV0
Timer operation enable
Count clock (f
) selection
CNT
f
(10 MHz)
X
f
/2
(5 MHz)
X
2
f
/2
(2.5 MHz)
X
6
f
/2
(156.25 kHz)
X
10
f
/2
(9.77 kHz)
X
Note
TM50 output
Setting prohibited
Timer operation mode
Timer output control
<1>
<0>
TOEN0
235

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents