NEC 78K0 Series User Manual page 267

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
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 Note the following points when selecting the TM50 output as the count clock.
• Mode in which the count clock is cleared and started upon a match of TM50 and CR50 (TMC506 = 0)
Start the operation of the 8-bit timer/event counter 50 first and then enable the timer F/F inversion
operation (TMC501 = 1).
• PWM mode (TMC506 = 1)
Start the operation of the 8-bit timer/event counter 50 first and then set the count clock to make the duty =
50%.
It is not necessary to enable the TO50 pin as a timer output pin in any mode.
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
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
TM50 output
Other than above
Setting prohibited
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
Preliminary User's Manual U17260EJ3V1UD
3
2
4
CKS00
TMMD01 TMMD00 TOLEV0
Timer operation enable
Count clock selection
f
=
f
=
PRS
PRS
2 MHz
5 MHz
2 MHz
5 MHz
1 MHz
2.5 MHz
/2
2
/2
500 kHz
1.25 MHz
6
/2
31.25 kHz
78.13 kHz
10
1.95 kHz
4.88 kHz
/2
Note
Timer operation mode
Timer output control
<1>
<0>
TOEN0
f
=
f
=
PRS
PRS
10 MHz
20 MHz
10 MHz
20 MHz
5 MHz
10 MHz
2.5 MHz
5 MHz
156.25 kHz
312.5 kHz
9.77 kHz
19.54 kHz
267

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents