CHAPTER 6 16-BIT TIMER
Figure 6-2. Format of 16-Bit Timer Mode Control Register 90
Symbol <7>
<6>
5
4
3
2
1
<0>
Address
FF48H
After reset
00H
R/W
TMC90 TOD90 TOF90 CPT901CPT900 TOC90 TCL901 TCL900 TOE90
R/WNote
TOD90
Timer output data
0
1
Timer output data is "0"
Timer output data is "1"
TOF90
Overflow flag control
0
1
Reset or cleared by software
Set when the 16-bit timer overflows
CPT901CPT900
Capture edge selection
0
0
1
1
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
Timer output data inversion control
0
1
Inversion disabled
Inversion enabled
TCL901 TCL900
16-bit timer counter 90 count clock selection
0
0
1
1
0
1
0
1
f
f
f
f
X
X
X
/22 (1.25 MHz)
/26 (78.1 kHz)
/27 (39.1 kHz)
XT (32.768 kHz)
TOE90
16-bit timer counter 90 output control
0
1
Output disabled (port mode)
Output enabled
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. fX: Main system clock oscillation frequency
2. fXT: Subsystem clock oscillation frequency
3. The parenthesized values apply to operation at fX = 5.0 MHz or fXT = 32.768 kHz.
User’s Manual U15075EJ1V0UM00
120