CHAPTER 7 8-BIT TIMER 80
User’s Manual U16898EJ3V0UD
125
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 R/W
Symbol
<7>
6 5 4 3 2 1 0
TMC80 TCE80
0
0
0
0
TCL801
TCL800
0
TCE80
Control of operation of TM80
0
Stop operation (clear TM80 to 00H).
1
Enable
operation.
Selection of count clock of 8-bit timer 80
TCL801
TCL800
f
XP
= 8.0 MHz
f
XP
= 10.0 MHz
0 0
f
XP
/2
6
125 kHz
156.3 kHz
0 1
f
XP
/2
8
31.25 kHz
39.06 kHz
1 0
f
XP
/2
10
7.81 kHz
9.77 kHz
1 1
f
XP
/2
16
0.12 kHz
0.15 kHz
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
XP
: Oscillation frequency of clock to peripheral hardware