122
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 2, 3 TM2, TM3
9.3 8-Bit Timer/Event Counters 2 and 3 Control Registers
The following two types of registers are used to control timers 2 and 3.
• Timer clock select register n (TCLn)
• 8-bit timer mode control register n (TMCn)
n = 2, 3
(1) Timer clock select register n (TCLn: n = 2, 3)
This register sets count clocks of timers 2 and 3.
TCLn is set with an 8-bit memory manipulation instruction.
RESET input sets to 00H.
Figure 9-3. Timer Clock Select Register 2 (TCL2) Format
Address: FF74H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TCL2
0
0
0
0
0
TCL22
TCL21
TCL20
TCL22
TCL21
TCL20
Count Clock Selection
0
0
0
TIO2 Falling edge
0
0
1
TIO2 Rising edge
0
1
0
f
X
/2
3
(1.04 MHz)
0
1
1
f
X
/2
5
(261 kHz)
1
0
0
f
X
/2
7
(65.4 kHz)
1
0
1
f
X
/2
8
(32.7 kHz)
1
1
0
f
X
/2
9
(16.3 kHz)
1
1
1
f
X
/2
11
(4.09 kHz)
Cautions 1. When rewriting TCL2 to other data, stop the timer operation beforehand.
2. Set bits 3 to 7 to 0.
Remarks
1. f
X
: Main system clock oscillation frequency
2. Figures in parentheses apply to operation with f
X
= 8.38 MHz
Содержание mPD780973 Series
Страница 2: ...2 MEMO ...
Страница 66: ...66 MEMO ...
Страница 98: ...98 MEMO ...
Страница 138: ...138 MEMO ...
Страница 164: ...164 MEMO ...
Страница 182: ...182 MEMO ...
Страница 204: ...204 MEMO ...
Страница 244: ...244 MEMO ...
Страница 262: ...262 MEMO ...
Страница 278: ...278 MEMO ...
Страница 290: ...290 MEMO ...