C8051F330DR Silicon Labs, C8051F330DR Datasheet - Page 191

no-image

C8051F330DR

Manufacturer Part Number
C8051F330DR
Description
8-bit Microcontrollers - MCU 8kB 10ADC
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F330DR

Product Category
8-bit Microcontrollers - MCU
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
25 MHz
Program Memory Size
8 KB
Data Ram Size
768 B
On-chip Adc
No
Operating Supply Voltage
2.7 V to 3.6 V
Package / Case
QFN-20
Mounting Style
SMD/SMT
Data Rom Size
128 B
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
4
On-chip Dac
No
Processor Series
C8051
Program Memory Type
Flash
Factory Pack Quantity
1500
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
19.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 19.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 19.3 for details on the PCA interrupt configuration.
Note: X = Don’t Care.
PWM16 ECOM CAPP CAPN
Timer Overflow
PCA Counter/
Table 19.2. PCA0CPM Register Settings for PCA Capture/Compare Modules
X
X
X
X
X
X
0
1
W
M
P
1
6
n
PCA Module 0
PCA Module 1
PCA Module 2
(for n = 0 to 2)
PCA0CPMn
E
C
O
M
n
C
A
P
P
n
(CCF0)
(CCF1)
(CCF2)
C
A
P
N
n
M
A
T
n
O
G
T
n
W
M
X
X
X
P
n
1
1
1
1
1
E
C
C
F
n
C
F
C
R
PCA0CN
1
0
1
0
0
0
0
0
C
C
F
2
Figure 19.3. PCA Interrupt Block Diagram
C
C
F
1
C
C
F
0
ECCF0
ECCF1
ECCF2
0
1
1
0
0
0
0
0
C
D
L
I
W
D
E
T
PCA0MD
W
D
C
K
L
C
P
S
2
MAT
C
P
S
1
0
1
0
1
0
1
C
X
X
X
P
S
0
0
0
0
1
1
E
C
F
0
1
TOG
0
0
0
0
1
1
0
0
Rev. 1.7
PWM ECCF
0
0
0
0
0
1
1
1
C8051F330/1/2/3/4/5
X
X
X
X
X
X
X
X
Capture triggered by positive edge
on CEXn
Capture triggered by negative
edge on CEXn
Capture triggered by transition on
CEXn
Software Timer
High Speed Output
Frequency Output
8-Bit Pulse Width Modulator
16-Bit Pulse Width Modulator
EPCA0
Operation Mode
0
1
EA
0
1
Interrupt
Priority
Decoder
195

Related parts for C8051F330DR