English
Language : 

C509-L_97 Datasheet, PDF (111/290 Pages) Siemens Semiconductor Group – 8-Bit CMOS Microcontroller
On-Chip Peripheral Components
C509-L
6.3.1 Timer 2 Operation
Timer 2 is one of the three 16-bit timer units of the capture/compare unit. It can operate as timer,
event counter, or gated timer. Prior to the description of the timer 2 operating modes and functions,
the timer 2 related special function registers are described.
6.3.1.1 Timer 2 Registers
Timer 2 is controlled by bits of the 5 special function register T2CON, PRSC, CTCON, IEN1, and
IRCON0. The related meaning of the timer 2 control bits and flags is shown below.
Special Function Register T2CON (Address C8H)
Special Function Register PRSC (Address B4H)
Special Function Register CTCON (Address E1H)
Special Function Register IEN0 (Address A8H)
Special Function Register IEN1 (Address B8H)
Special Function Register IRCON0 (Address C0H)
Reset Value : 00H
Reset Value : 11010101B
Reset Value : 01000000B
Reset Value : 00H
Reset Value : 00H
Reset Value : 00H
Bit No.
C8H
MSB
CFH
T2PS
CEH
I3FR
CDH CCH CBH CAH
I2FR T2R1 T2R0 T2CM
C9H
T2I1
LSB
C8H
T1I0
T2CON
7
6
B4H WDTP S0P
5
4
3
2
1
0
T2P1 T2P0 T1P1 T1P0 T0P1 T0P0
PRSC
7
6
5
4
3
2
1
0
E1H T2PS1 CTP ICR ICS CTF CLK2 CLK1 CLK0 CTCON
A8H
AFH AEH ADH ACH ABH AAH
EAL WDT ET2 ES0 ET1 EX1
A9H
ET0
A8H
EX0
IEN0
BFH BEH BDH
B8H EXEN2 SWDT EX6
BCH BBH BAH
EX5 EX4 EX3
B9H B8H
EX2 EADC
IEN1
C0H
C7H
EXF2
C6H C5H C4H C3H C2H C1H C0H
TF2 IEX6 IEX5 IEX4 IEX3 IEX2 IADC
IRCON0
The shaded bits are not used for timer/counter 2.
Semiconductor Group
6-33
1997-10-01