C8051T600/1/2/3/4/5/6
26.2. PCA0 Interrupt Sources
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, and the individual flags for each PCA channel (CCF0, CCF1, and
CCF2), 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 and ECCFn for each CCFn). PCA0
interrupts must be globally enabled before any individual interrupt sources are recognized by the proces-
sor. PCA0 interrupts are globally enabled by setting the EA bit and the EPCA0 bit to logic 1.
(for n = 0 to 2)
PCA0CPMn
P ECCMT P E
WC A A A O WC
MO P P T G MC
1 MP N n n n F
6 n n n
n
n
PCA0CN
CC
FR
CCC
CCC
FFF
2 1 0
PCA0MD
C WW
I DD
DT L
LEC
K
CCCE
PPPC
SSSF
2 1 0
PCA Counter/Timer 16-
bit Overflow
ECCF0
0
1
EPCA0
0
1
0
1
EA
0
1
PCA Module 0
(CCF0)
ECCF1
Interrupt
Priority
Decoder
PCA Module 1
(CCF1)
ECCF2
0
1
PCA Module 2
(CCF2)
0
1
Figure 26.3. PCA Interrupt Block Diagram
162
Rev. 1.2