DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

C8051F317 查看數據表(PDF) - Silicon Laboratories

零件编号
产品描述 (功能)
生产厂家
C8051F317
Silabs
Silicon Laboratories 
C8051F317 Datasheet PDF : 224 Pages
First Prev 201 202 203 204 205 206 207 208 209 210 Next Last
C8051F310/1/2/3/4/5/6/7
18.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 18.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 18.3 for details on the PCA interrupt configuration.
Table 18.2. PCA0CPM Register Settings for PCA Capture/Compare Modules
PWM16 ECOM CAPP CAPN MAT
X
X
1
0
0
X
X
0
1
0
X
X
1
1
0
X
1
0
0
1
X
1
0
0
1
X
1
0
0
X
0
1
0
0
X
1
1
0
0
X
X = Don’t Care
TOG
0
0
0
0
1
1
0
0
PWM
0
0
0
0
0
1
1
1
ECCF
Operation Mode
X
Capture triggered by positive edge
on CEXn
X
Capture triggered by negative edge
on CEXn
X
Capture triggered by transition on
CEXn
X Software Timer
X High Speed Output
X Frequency Output
X 8-Bit Pulse Width Modulator
X 16-Bit Pulse Width Modulator
(for n = 0 to 4)
PCA0CPMn
P ECCMT P E
WCA A AOWC
MOPP TGMC
1 MPN n n n F
6nnn
n
n
PCA Counter/
Timer Overflow
PCA0CN
CC CCCCC
FR CCCCC
FFFFF
43210
PCA0MD
C WW
I DD
DTL
L EC
K
CCCE
PPPC
SSSF
210
0
1
PCA Module 0
(CCF0)
PCA Module 1
(CCF1)
PCA Module 2
(CCF2)
PCA Module 3
(CCF3)
PCA Module 4
(CCF4)
ECCF0
0
1
ECCF1
0
1
EPCA0
EA
0
1
ECCF2
0
1
ECCF3
0
1
ECCF4
0
1
Figure 18.3. PCA Interrupt Block Diagram
0 Interrupt
Priority
1
Decoder
Rev. 1.6
201

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]