c8051t602 Silicon Laboratories, c8051t602 Datasheet - Page 145

no-image

c8051t602

Manufacturer Part Number
c8051t602
Description
Mixed Signal Otp Eprom Mcu Family
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
c8051t602-GS
Manufacturer:
Silicon Labs
Quantity:
135
17.2. Capture/Compare Modules
Each module can be configured to operate independently in one of six operation modes: Edge-triggered
Capture, Software Timer, High Speed Output, Frequency Output, 8-Bit Pulse Width Modulator, or 16-Bit
Pulse Width Modulator. Each module has Special Function Registers (SFRs) associated with it in the CIP-
51 system controller. These registers are used to exchange data with a module and configure the module's
mode of operation.
Table 17.2 summarizes the bit settings in the PCA0CPMn registers used to select the PCA capture/com-
pare module’s operating modes. Setting the ECCFn bit in a PCA0CPMn register enables the module's
CCFn interrupt. Note: PCA0 interrupts must be globally enabled before individual CCFn interrupts are rec-
ognized. PCA0 interrupts are globally enabled by setting the EA bit and the EPCA0 bit to logic 1. See
Figure 17.3 for details on the PCA interrupt configuration.
PWM16 ECOM CAPP CAPN
X = Don’t Care
Timer Overflow
PCA Counter/
Table 17.2. PCA0CPM Register Settings for PCA Capture/Compare Modules
X
X
X
X
X
X
0
1
W
P
M
1
6
n
PCA Module 0
PCA Module 1
PCA Module 2
(for n = 0 to 2)
PCA0CPMn
O
M
E
C
n
C
A
P
P
n
(CCF0)
(CCF1)
(CCF2)
C
N
A
P
n
M
A
T
n
X
X
X
1
1
1
1
1
O
G
T
n
W
M
P
n
E
C
C
F
n
C
F
1
0
1
0
0
0
0
0
C
R
PCA0CN
Figure 17.3. PCA Interrupt Block Diagram
C
C
F
2
C
C
F
1
0
1
1
0
0
0
0
0
C
C
F
0
ECCF0
ECCF1
ECCF2
C
D
L
I
W
D
T
E
MAT
PCA0MD
W
D
C
K
L
X
X
X
0
0
0
1
1
C
P
S
2
C
P
S
1
0
1
0
1
0
1
C
P
S
0
TOG
E
C
F
0
0
0
0
1
1
0
0
Rev. 0.5
0
1
PWM ECCF
0
0
0
0
0
1
1
1
C8051T600/1/2/3/4/5
X
X
X
X
X
X
X
X
Capture triggered by positive edge
Capture triggered by transition on
EPCA0
Capture triggered by negative
16-Bit Pulse Width Modulator
8-Bit Pulse Width Modulator
High Speed Output
Frequency Output
Operation Mode
Software Timer
edge on CEXn
0
1
on CEXn
CEXn
EA
0
1
Interrupt
Priority
Decoder
145

Related parts for c8051t602