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.
Содержание mPD789425
Страница 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Страница 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Страница 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Страница 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...
Страница 316: ...User s Manual U15075EJ1V0UM00 316 MEMO ...