C8051F321R Silicon Laboratories Inc, C8051F321R Datasheet - Page 237

IC 8051 MCU 16K FLASH 28MLP

C8051F321R

Manufacturer Part Number
C8051F321R
Description
IC 8051 MCU 16K FLASH 28MLP
Manufacturer
Silicon Laboratories Inc
Series
C8051F32xr
Datasheet

Specifications of C8051F321R

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
21
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Other names
336-1067-2
20.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 Modu-
lator. 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 20.2 summarizes the bit settings in the PCA0CPMn registers used to select the PCA capture/compare 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 recognized. PCA0 interrupts are globally
enabled by setting the EA bit and the EPCA0 bit to logic 1. See Figure 20.3 for details on the PCA interrupt configu-
ration.
PWM16 ECOM CAPP CAPN
Timer Overflow
PCA Counter/
X
X
X
X
X
X
0
1
Table 20.2. PCA0CPM Register Settings for PCA Capture/Compare Modules
W
M
P
1
6
n
PCA Module 0
PCA Module 1
PCA Module 2
PCA Module 3
PCA Module 4
(for n = 0 to 4)
PCA0CPMn
O
M
E
C
n
C
A
P
P
(CCF0)
(CCF1)
(CCF2)
(CCF3)
(CCF4)
n
X = Don’t Care
C
A
P
N
n
M
A
T
n
X
X
X
1
1
1
1
1
O
G
T
n
W
P
M
n
C
C
E
F
n
C
F
C
R
PCA0CN
1
0
1
0
0
0
0
0
C
C
F
4
C
C
F
3
C
C
F
2
Figure 20.3. PCA Interrupt Block Diagram
C
C
F
1
C
C
F
0
ECCF0
ECCF1
ECCF2
ECCF3
ECCF4
0
1
1
0
0
0
0
0
C
D
L
I
W
D
E
T
PCA0MD
W
D
C
K
L
MAT
C
P
S
2
C
P
S
1
X
X
X
0
0
0
1
1
0
1
0
1
0
1
0
1
0
1
C
P
S
0
E
C
F
0
1
TOG
0
0
0
0
1
1
0
0
Rev. 1.1
PWM ECCF
0
0
0
0
0
1
1
1
X
X
X
X
X
X
X
X
Capture triggered by negative edge on
Capture triggered by positive edge on
Capture triggered by transition on
16-Bit Pulse Width Modulator
8-Bit Pulse Width Modulator
EPCA0
High Speed Output
Frequency Output
Operation Mode
Software Timer
C8051F320/1
0
1
CEXn
CEXn
CEXn
EA
0
1
Interrupt
Priority
Decoder
237

Related parts for C8051F321R