CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
Preliminary User’s Manual U16315EJ1V0UD
165
7.3 Registers Controlling 8-Bit Timer/Event Counters 50 and 51
The following three registers are used to control 8-bit timer/event counters 50 and 51.
•
Timer clock selection register 5n (TCL5n)
•
8-bit timer mode control register 5n (TMC5n)
•
Port mode register 1 (PM1) or port mode register 3 (PM3)
(1) Timer clock selection register 5n (TCL5n)
This register sets the count clock of 8-bit timer/event counter 5n and the valid edge of TI5n input.
TCL5n can be set by an 8-bit memory manipulation instruction.
RESET input clears TCL5n to 00H.
Remark
n = 0, 1
Figure 7-3. Format of Timer Clock Selection Register 50 (TCL50)
Address: FF6AH After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TCL50
0
0
0
0
0
TCL502
TCL501
TCL500
TCL502
TCL501
TCL500
Count clock selection
0
0
0
TI50 falling edge
0
0
1
TI50 rising edge
0
1
0
f
X
(10 MHz)
0
1
1
f
X
/2 (5 MHz)
1
0
0
f
X
/2
2
(2.5 MHz)
1
0
1
f
X
/2
6
(156.25 kHz)
1
1
0
f
X
/2
8
(39.06 kHz)
1
1
1
f
X
/2
13
(1.22 kHz)
Cautions 1. When rewriting TCL50 to other data, stop the timer operation beforehand.
2. Be sure to set bits 3 to 7 to 0.
Remarks 1.
f
X
: X1 input clock oscillation frequency
2.
Figures in parentheses apply to operation at f
X
= 10 MHz.
Содержание 78K0/KD1 Series
Страница 2: ...Preliminary User s Manual U16315EJ1V0UD 2 MEMO ...
Страница 444: ...Preliminary User s Manual U16315EJ1V0UD 444 MEMO ...