CHAPTER 6 16-BIT TIMER
User’s Manual U15075EJ1V0UM00
120
Figure 6-2. Format of 16-Bit Timer Mode Control Register 90
TOD90 TOF90 CPT901 CPT900 TOC90 TCL901 TCL900 TOE90
TMC90
Symbol
Address
After reset
R/W
FF48H
00H
R/W
Note
5
<6>
4
3
2
1
<0>
<7>
TOF90
0
1
Overflow flag control
Reset or cleared by software
Set when the 16-bit timer overflows
CPT901
0
0
1
1
Capture edge selection
CPT900
0
1
0
1
Capture operation disabled
Captured at the rising edge of the CPT90 pin
Captured at the falling edge of the CPT90 pin
Captured at both the rising and falling edges of the CPT90 pin
TOC90
0
1
Timer output data inversion control
Inversion disabled
Inversion enabled
TCL901
0
0
1
1
16-bit timer counter 90 count clock selection
TCL900
0
1
0
1
TOE90
0
1
16-bit timer counter 90 output control
Output disabled (port mode)
Output enabled
TOD90
0
1
Timer output data
Timer output data is "0"
Timer output data is "1"
f
X
/2
2
(1.25 MHz)
f
X
/2
6
(78.1 kHz)
f
X
/2
7
(39.1 kHz)
f
XT
(32.768 kHz)
Note
Bit 7 is read-only.
Caution
Disable interrupts in advance by using the interrupt mask flag register (MK1) to change
the data of TCL901 and TCL900. Also, prevent the timer output data from being inverted
by setting TOC90 to1.
Remarks 1. f
X
:
Main system clock oscillation frequency
2. f
XT
:
Subsystem clock oscillation frequency
3. The parenthesized values apply to operation at f
X
= 5.0 MHz or f
XT
= 32.768 kHz.
Summary of Contents for mPD789425
Page 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Page 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Page 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Page 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Page 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Page 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Page 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Page 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Page 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Page 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Page 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Page 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Page 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...