English
Language : 

C8051F58X Datasheet, PDF (333/356 Pages) Silicon Laboratories – Programmable hysteresis and response time Configurble as interrupt or reset source Low current
C8051F58x/F59x
29.2. PCA1 Interrupt Sources
Figure 29.3 shows a diagram of the PCA1 interrupt tree. There are five independent event flags that can
be used to generate a PCA1 interrupt. They are as follows: the main PCA1 counter overflow flag (CF1),
which is set upon a 16-bit overflow of the PCA1 counter, an intermediate overflow flag (COVF1), which can
be set on an overflow from the 8th, 9th, 10th, or 11th bit of the PCA1 counter, and the individual flags for
each PCA1 channel (CCF6, CCF7, CCF8, CCF9, CCF10 and CCF11), 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 PCA1 interrupt, using the corresponding interrupt
enable flag (ECF1 for CF1, ECOV1 for COVF1, and ECCF1n for each CCFn). PCA1 interrupts must be
globally enabled before any individual interrupt sources are recognized by the processor. PCA1 interrupts
are globally enabled by setting the EA bit and the EPCA1 bit to logic 1.
(for n = 0 to 2)
PCA1CPMn
P ECCMT P E
WCA A AOWC
MOP P TGMC
1 MPN n 1 1 F
61111nn1
1nnn
n
n
PCA1 Counter/Timer 8,
9, 10 or 11-bit Overflow
PCA1 Counter/Timer 16-
bit Overflow
PCA Module 6
(CCF6)
PCA1CN
CCCCCCCC
FRCCCCCC
11FFFFFF
119876
10
PCA1MD
C
CCCE
I
PPPC
D
SSSF
L
1111
1
210
ECCF6
0
1
0
1
PCA Module 7
(CCF7)
ECCF7
0
1
PCA Module 8
(CCF8)
ECCF8
0
1
PCA Module 9
(CCF9)
PCA Module 10
(CCF10)
PCA Module 11
(CCF11)
ECCF9
0
1
ECCF10
0
1
ECCF11
0
1
PCA1PWM
ACE
CC
ROC
LL
S VO
SS
EFV
EE
L11
LL
1
11
10
0
1
Set 8, 9, 10, or 11 bit Operation
EPCA1
EA
0
1
Figure 29.3. PCA1 Interrupt Block Diagram
0 Interrupt
Priority
1
Decoder
Rev. 1.2
333