sak-c868p-1rr Infineon Technologies Corporation, sak-c868p-1rr Datasheet - Page 72

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
4.6.6
In order to enter the 16-bit capture mode, bits CP/RL2 and EXEN2 in register T2CON
must be set. In this mode, the down count function must remain disabled. The timer/
counter functions as a 16-bit timer or counter and always counts up to FFFF
overflows. Upon an overflow condition, bit TF2 is set and the timer/counter reloads its
registers with 0000
Additionally, with a falling edge on pin T2EX the contents of the timer/counter registers
(T2L/H) are captured into the RC2L/H registers. If the capture signal is detected while
the counter is being incremented, the counter is first incremented before the capture
operation is performed. This ensures that the latest value of the timer/counter registers
are always captured.
When the capture operation is completed, bit EXF2 is set and can be used to generate
an interrupt request.
Figure 4-8
User’s Manual
f
SYS
T2EX
Pin
Pin
T2
12
Capture Mode
C/T2 = 0
C/T2 = 1
Capture Mode
EXEN2
H
. The setting of TF2 generates an interrupt request to the core.
Figure 4-8
TR2
describes the capture function of timer/counter 2.
4-28
RC2L/H
T2L/H
On-Chip Peripheral Components
Overflow
EXF2
TF2
OR
V 1.0, 2003-01
Interrupt
Timer 2
H
C868
and

Related parts for sak-c868p-1rr