CHAPTER 6 16-BIT TIMER/EVENT COUNTER
128
User’s Manual U11302EJ4V0UM
Figure 6-4. Format of Timer Clock Select Register 0
Cautions 1. The TI0/INTP0 pin valid edge is specified by the external interrupt mode register (INTM0), and
the sampling clock frequency is selected by the sampling clock select register (SCS).
2. When enabling PCL output, set TCL00 to TCL03, then set CLOE to 1 with a 1-bit memory
manipulation instruction.
3. To read the count value when TI0 has been specified as the TM0 count clock, the value should
be read from TM0, not from the 16-bit capture register (CR01).
4. If TCL0 is to be rewritten with data other than identical data, the timer operation must be
stopped first.
Remarks 1.
f
X
: Main system clock oscillation frequency
2.
f
XT
: Subsystem clock oscillation frequency
3.
TI0: 16-bit timer/event counter input pin
4.
TM0: 16-bit timer register
5.
Figures in parentheses apply to operation with f
X
= 5.0 MHz or f
XT
= 32.768 kHz.
6.
Refer to
CHAPTER 10 CLOCK OUTPUT CONTROLLER
for PCL.
TCL00
TCL0
<7>
6
5
4
3
2
Symbol
1
0
TCL03
PCL output clock selection
FF40H
TCL01
TCL03 TCL02
TCL04
TCL05
TCL06
CLOE
Address
After reset
R/W
00H
R/W
0
f
XT
(32.768 kHz)
0
f
X
/2
3
(625 kHz)
1
f
X
/2
4
(313 kHz)
1
f
X
/2
5
(156 kHz)
1
f
X
/2
6
(78.1 kHz)
1
f
X
/2
7
(39.1 kHz)
1
f
X
/2
8
(19.5 kHz)
Setting prohibited
TCL06
16-bit timer register count clock
selection
0
TI0 (Valid edge specifiable)
0
f
X
(5.0 MHz)
0
f
X
/2 (2.5 MHz)
0
f
X
/2
2
(1.25 MHz)
1
f
X
/2
3
(625 kHz)
Setting prohibited
CLOE
PCL output control
0
Output disabled
1
Output enabled
TCL02
0
1
0
0
0
0
1
TCL01
0
1
0
0
1
1
0
Other than above
TCL00
0
1
0
1
0
1
0
TCL05
0
0
1
1
0
Other than above
TCL04
0
1
0
1
0
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...