Electronics America Single-Chip Microcontrollers User's Manual
CHAPTER 7 8-BIT TIMERS 50, 60, AND 61
User’s Manual U15331EJ4V1UD
142
Table 7-7. Square-Wave Output Range of Timer 60
TCL602 TCL601 TCL600 Minimum Pulse Width Maximum Pulse Width Resolution
0 0 0 1/fX (0.2
µ
s)
2
8
/fX (51.2
µ
s)
1/f
X (0.2
µ
s)
0 0 1 2
2
/fX (0.8
µ
s)
2
10
/fX (204
µ
s) 2
2
/fX (0.8
µ
s)
0 1 0 fTMI input cycle fTMI input cycle × 2
8
fTMI input cycle
0 1 1 fTMI/2 input cycle fTMI/2 input cycle × 2
8
fTMI/2 input cycle
1 0 0 fTMI/2
2
input cycle fTMI/2
2
input cycle × 2
8
fTMI/2
2
input cycle
1 0 1 fTMI/2
3
input cycle fTMI/2
3
input cycle × 2
8
fTMI/2
3
input cycle
Remarks 1. fX: Main system clock oscillation frequency
2. f
TMI: External input clock frequency
3. The parenthesized values apply to operation at f
X = 5.0 MHz.
Table 7-8. Square-Wave Output Range of Timer 61
TCL612 TCL611 TCL610 Minimum Pulse Width Maximum Pulse Width Resolution
0 0 0 1/fX (0.2
µ
s)
2
8
/fX (51.2
µ
s)
1/f
X (0.2
µ
s)
0 0 1 2
4
/fX (3.2
µ
s)
2
12
/fX (819
µ
s) 2
4
/fX (3.2
µ
s)
0 1 0 fTMI input cycle fTMI input cycle × 2
8
fTMI input cycle
0 1 1 fTMI/2 input cycle fTMI/2 input cycle × 2
8
fTMI/2 input cycle
1 0 0 fTMI/2
2
input cycle fTMI/2
2
input cycle × 2
8
fTMI/2
2
input cycle
1 0 1 fTMI/2
3
input cycle fTMI/2
3
input cycle × 2
8
fTMI/2
3
input cycle
Remarks 1. fX: Main system clock oscillation frequency
2. f
TMI: External input clock frequency
3. The parenthesized values apply to operation at f
X = 5.0 MHz.
Figure 7-18. Timing of Square-Wave Output with 8-Bit Resolution
Count clock
CRnm
TCEnm
INTTMnm
TOnm
Note
N
TMnm
N
00H
01H
N
00H
01H
N
00H
01H
00H
01H
Clear Clear Clear
Count start
Interrupt acknowledgement Interrupt acknowledgement
Interrupt acknowledgement
Note The initial value of TOnm is low level when output is enabled.
Remark N = 00H to FFH
nm = 50, 60, 61