Register Controlling 8-Bit Timer 80 - NEC 78K0S/KB1+ User Manual

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

Advertisement

7.3

Register Controlling 8-bit Timer 80

8-bit timer 80 is controlled by 8-bit timer mode control register 80 (TMC80).
(1) 8-bit timer mode control register 80 (TMC80)
This register is used to enable or stop the operation of 8-bit timer/counter 80 (TM80), and to set the count
clock of TM80.
This register is set by using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears TMC80 to 00H.
Figure 7-4. Format of 8-bit Timer Mode Control Register 80 (TMC80)
Address: FFCCH
After reset: 00H
Symbol
<7>
TMC80
TCE80
TCE80
0
Stop operation (clear TM80 to 00H).
1
Enable operation.
TCL801
TCL800
0
0
1
1
Cautions 1. Be sure to set TMC80 after stopping the timer operation.
2. Be sure to clear bits 0 and 6 to 0.
Remark f
: Oscillation frequency of clock to peripheral hardware
XP
CHAPTER 7 8-BIT TIMER 80
R/W
6
5
0
0
6
0
f
/2
125 kHz
XP
8
1
f
/2
31.25 kHz
XP
10
0
f
/2
7.81 kHz
XP
16
1
f
/2
0.12 kHz
XP
User's Manual U17446EJ3V1UD
4
3
0
0
TCL801
Control of operation of TM80
Selection of count clock of 8-bit timer 80
f
= 8.0 MHz
XP
2
1
TCL800
f
= 10.0 MHz
XP
156.3 kHz
39.06 kHz
9.77 kHz
0.15 kHz
0
0
129

Advertisement

Table of Contents
loading

Table of Contents