p87cl884t NXP Semiconductors, p87cl884t Datasheet - Page 15

no-image

p87cl884t

Manufacturer Part Number
p87cl884t
Description
P8xcl883; P8xcl884 Telx Microcontrollers For Ct0 Handset/basestation Applications
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
6.3.2
Table 6 Timer/Counter 2 Control Register (SFR address C8H)
Table 7 Description of T2CON bits
Table 8 Timer 2 operating modes
TELX microcontrollers for CT0
handset/basestation applications
ECOMP
TF2
BIT
7
7
6
5
4
3
2
1
0
0
0
1
1
1
0
T
IMER
/C
OUNTER
SYMBOL
ECOMP
CP/RL2
CP/RL2
EXEN2
COMP
EXF2
EXF2
C/T2
TR2
TF2
6
0
1
0
1
0
0
2 C
ONTROL
Timer 2 overflow flag. TF2 is set by a Timer 2 overflow and must be cleared by
software.
Timer 2 external flag. EXF2 is set when either a capture or reload is caused by a
negative transition on T2EX and when EXEN2 = 1. When Timer T2 interrupt is enabled,
EXF2 = 1 will cause the CPU to vector to Timer 2 interrupt routine. EXF2 must be
cleared by software.
Interrupt flag. When a match between the 16-bit compare register (COMP2L and
COMP2H) and the new counter value of timer T2 occurs, the interrupt flag COMP in
register T2CON and port bit P1.2 are toggled.
Enable compare output bit. When set by software, the controller toggles port bit P1.2
(T2COMP) when a compare match occurs.
Timer 2 external enable flag. When set, allows a capture or reload to occur as a result
of a negative transition on T2EX. EXEN2 = 0 causes Timer 2 to ignore events at T2EX.
Timer 2 start/stop control. Control bit for Timer 2.
Timer 2 timer or counter select. C/T2 = 0 selects the internal timer with a clock
frequency of
edge-triggered.
Capture/reload flag. When set captures will occur on negative transitions at T2EX, if
EXEN2 = 1. When cleared, auto-reloads will occur either with Timer 2 overflows or
negative transitions at T2EX when EXEN2 = 1.
COMP
TR2
5
1
1
1
1
0
0
R
EGISTER
1
6
16-bit Auto-reload
16-bit Capture
16-bit Compare
16-bit Capture and Compare
16-bit Compare with Auto-reload
off
f
osc
(T2CON)
ECOMP
. C/T2 = 1 selects the external event counter; negative
4
15
EXEN2
3
DESCRIPTION
MODE
TR2
2
P8xCL883; P8xCL884
C/T2
1
Product specification
CP/RL2
0

Related parts for p87cl884t