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

no-image

sak-c868p-1rr

Manufacturer Part Number
sak-c868p-1rr
Description
8 - Bit Cmos Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet
be selected as capture event, that is used to transfer the contents of timer T12 to the
CC6xR and CC6xSR registers. In order to work in capture mode, the capture pins have
to be configured as inputs.
Figure 4-23
The block diagram of the capture logic for one channel is shown in
logic is identical for all three independent channels of timer T12. The input signal
(CC6x_in) from the input pin CC6x is connected to an edge detection logic delivering two
output signals, one for the rising edge (Capt_re) and one for the falling edge (Capt_fe).
These signals are also used as trigger sources for the channel interrupts if capture mode
is selected.
There are several possibilities to store the captured values in the registers. In double
register capture mode the timer value is stored in the channel shadow register CC6xSR.
The value formerly stored in this register is simultaneously copied to the channel register
CC6xR.This mode can be used if two capture events occur with very few time between
them. The SW can then check the new captured value and has still the possibility to read
the value captured before.
The selection of the capture mode is done by bitfield MSEL6x. According to the selected
mode and the detected capture event, the signals tr_T_R (transfer T12 contents to
register CC6xR), tr_T_SR (transfer T12 contents to register CC6xSR) or tr_SR_R
(transfer contents of CC6xSR to register CC6xR) are activated.
Note: In capture mode, a shadow transfer can be requested according to the shadow
4.7.1.10 Single Shot Mode
In single shot mode, the timer T12 stops automatically at the end of the its counting
period.
User’s Manual
transfer rules, except for the capture / compare registers, that are left unchanged.
Figure 4-24
CC6x_in
Capture Logic
fper
shows the functionality at the end of the timer period in edge-aligned
in
detection
edge
R
F
Capt_re
Capt_fe
4-44
MSEL6x
function
select
On-Chip Peripheral Components
tr_T_R
tr_T_SR
tr_SR_R
Figure
V 1.0, 2003-01
4-23. This
C868

Related parts for sak-c868p-1rr