ADVANCE INFORMATION
VCT 38xxA
5.14.Capture Compare Module (CAPCOM)
5.14.1.Features
– 16-bit free running counter with read out.
– 16-bit capture register.
The Capture Compare Module (CAPCOM) is a com-
plex relative timer. It comprises a free running 16-bit
Capture Compare Counter (CCC) and 2 Capture Com-
pare Subunits (SU). The CCC provides an interrupt on
overflow and the timervalue can be read by software.
– 16-bit compare register.
– Input trigger on rising, falling or both edges.
– Output action: toggle, Low or High level.
A SU is able to capture the relative time of an external
event input and to generate an output signal when the
CCC passes a predefined timer value. Three types of
interrupts enable interaction with SW. Special function-
ality provides an interface to the asynchronous exter-
nal world.
– Three different interrupt sources: overflow, input,
compare
– Designed for interfacing to asynchronous external
events
CCCS.CSF
2
fOSC/20
0
fOSC/24
clk
CCCOFL
Interrupt
Source
4:1
fOSC/28
Mux
fOSC/212
CCC
1
ofl
16
Timer Value
SR0.CCC
2
2
CC0I
CC0M
CAP CMP OFL LAC RCR
X
X
X
MSK MSK MSK FOL
OAM
IAM
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
0 0
0 1
1 0
CC0-IN
&
&
&
1 1
CC0OR
Interrupt
Source
Input Action Logic
>1
3
2
Low
0 0
0 1
1 0
1 1
TOGGLE
>1
CC0-OUT
Output Action Logic
16
CC0COMP
Interrupt
Source
A
B
reset
=
load
r
16-Bit Capture-Register
16-Bit Compare-Register
w
16
CC0
Subunit 0
Subunit 1
Timer Value
16
ofl
CC1OR
Interrupt
Source
CC1-IN
CC1COMP
Interrupt
Source
CC1-OUT
Fig. 5–23: Block diagram of CAPCOM module
Micronas
115