Si1000/1/2/3/4/5
28.2. PCA0 Interrupt Sources
Figure 28.3 shows a diagram of the PCA interrupt tree. There are eight independent event flags that can
be used to generate a PCA0 interrupt. They are: the main PCA counter overflow flag (CF), which is set
upon a 16-bit overflow of the PCA0 counter, an intermediate overflow flag (COVF), which can be set on an
overflow from the 8th, 9th, 10th, or 11th bit of the PCA0 counter, and the individual flags for each PCA
channel (CCF0, CCF1, CCF2, CCF3, CCF4, and CCF5), which are set according to the operation mode of
that module. These event flags are always set when the trigger condition occurs. Each of these flags can
be individually selected to generate a PCA0 interrupt, using the corresponding interrupt enable flag (ECF
for CF, ECOV for COVF, and ECCFn for each CCFn). PCA0 interrupts must be globally enabled before any
individual interrupt sources are recognized by the processor. PCA0 interrupts are globally enabled by set-
ting the EA bit and the EPCA0 bit to logic 1.
(for n = 0 to 5)
PCA0CPMn
PCA0CN
PCA0MD
PCA0PWM
P E C C M T P E
W C A A A O W C
M O P P T G M C
1 M P N n n n F
C C C C C C C C
F R C C C C C C
F F F F F F
C WW C C C E
I D D P P P C
D T L S S S F
L E C 2 1 0
K
A C E
C C
L L
S S
E E
L L
1 0
R O C
S V O
E F V
L
5 4 3 2 1 0
6 n n n
n
n
PCA Counter/Timer 8, 9,
10 or 11-bit Overflow
Set 8, 9, 10, or 11 bit Operation
EPCA0
0
1
PCA Counter/Timer 16-
bit Overflow
0
1
EA
ECCF0
Interrupt
Priority
Decoder
0
1
0
1
0
1
PCA Module 0
(CCF0)
ECCF1
ECCF2
ECCF3
ECCF4
ECCF5
0
1
PCA Module 1
(CCF1)
0
1
PCA Module 2
(CCF2)
0
1
PCA Module 3
(CCF3)
0
1
PCA Module 4
(CCF4)
0
1
PCA Module 5
(CCF5)
Figure 28.3. PCA Interrupt Block Diagram
354
Rev. 1.0