English
Language : 

C508_01 Datasheet, PDF (92/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
Special Function Register T2CON (Address C8H)
Bit No. MSB
7
6
5
4
3
2
CFH CEH CDH CCH CBH CAH
C8H T2PS I3FR I2FR T2R1 T2R0 T2CM
1
C9H
T2I1
Reset Value: 00H
LSB
0
C8H
T2I0 T2CON
The shaded bits are not used for controlling Timer/counter 2.
Bit
T2PS
I3FR
T2R1
T2R0
T2CM
T2I1
T2I0
Function
Prescaler select bit
When set, Timer 2 is clocked with 1/6 of the oscillator frequency. When
cleared, Timer 2 is clocked with 1/3 of the oscillator frequency.
External interrupt 3 falling / rising edge flag
Used for Capture function in combination with register CRC. If set, a
Capture to register CRC (if enabled) will occur on a positive transition at
pin P5.0/T2CC0/INT3.
Timer 2 Reload enable
T2R0
0
0
1
T2R1 Function
0
Reload disabled
1
Auto-Reload upon Timer 2 overflow (TF2)
X
Prohibited. Do not use this combination.
Compare mode bit for registers CRC, T2CC1 through T2CC3
T2CM
0
1
Function
Compare mode 0 is selected
Compare mode 1 is selected
Timer 2 input selection
T2I0
0
1
X
T2I1
0
0
1
Function
No input selected, Timer 2 stops
Timer function:
input frequency = fosc/3 (T2PS = 0)
or fosc/6 (T2PS = 1)
Prohibited. Do not use this combination.
User’s Manual
6-27
2001-05