
Rev. 1.00
133 of ���
�an�a�� 1�� �01�
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
Timer/Event Counters 0, 1, 3
Timer/Event Counters 0, 1, 3
T3CON Register
SFR Address: A1h
Bit
7
6
5
4
3
2
1
0
Name
GATE3
C/T3
T3M1
T3M0
—
—
TF3
TR3
R/W
R/W
R/W
R/W
R/W
—
—
R/W
R/W
POR
0
0
0
0
—
—
0
0
Bit 7
GATE3:
Timer 3 Gate Control
0: Disable
1: Enable
This bit is used to enable the Timer 3 Gate function. When the GATE3 bit is set high
and Timer 3 is enabled to run using the TR3 bit and when the INT3 pin is input high,
then the Timer 3 Counter will increment one on every falling edge on the T3 input pin.
Bit 6
C/T3:
Timer 3 Counter/Timer selection
0: Timer
1: Counter
Bit 5~4
T3M1, T3M0:
Timer 3 mode selection
00: Mode 0 – 13-bit Timer/Counter
01: Mode 1 – 16-bit Timer/Counter
10: Mode 2 – 8-bit Auto Reload Timer/Counter
11: Mode 3 – Timer Stopped
Bit 3~2
Unimplemented, read as "0"
Bit 1
TF3:
Timer 3 interrupt request flag
0: No request
1: Interrupt request
This bit will be cleared by hardware automatically.
Bit 0
TR3:
Timer 3 run flag
0: Stop
1: Run