C8051F502-IMR Silicon Laboratories Inc, C8051F502-IMR Datasheet - Page 303

no-image

C8051F502-IMR

Manufacturer Part Number
C8051F502-IMR
Description
MCU 8-Bit C8051F50x 8051 CISC 64KB Flash 2.5V/3.3V/5V 32-Pin QFN EP T/R
Manufacturer
Silicon Laboratories Inc
Datasheet

Specifications of C8051F502-IMR

Package
32QFN EP
Device Core
8051
Family Name
C8051F50x
Maximum Speed
50 MHz
Ram Size
4.25 KB
Program Memory Size
64 KB
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
25
Interface Type
I2C/SPI/UART
On-chip Adc
32-chx12-bit
Operating Temperature
-40 to 125 °C
Number Of Timers
4

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F502-IMR
0
SFR Definition 27.4. PCA0CPMn: PCA Capture/Compare Mode
SFR Addresses: PCA0CPM0 = 0xDA
PCA0CPM4 = 0xDE, PCA0CPM5 = 0xDF, SFR Page (all registers) = 0x00
Note: When the WDTE bit is set to 1, the PCA0CPM5 register cannot be modified, and module 5 acts as the
Reset
Name
Bit
Type
7
6
5
4
3
2
1
0
Bit
PWM16n 16-bit Pulse Width Modulation Enable.
watchdog timer. To change the contents of the PCA0CPM5 register or the function of module 5, the Watchdog
Timer must be disabled.
ECOMn
CAPPn
CAPNn
ECCFn
PWMn
Name
TOGn
MATn
PWM16n
R/W
7
0
This bit enables 16-bit mode when Pulse Width Modulation mode is enabled.
0: 8 to 11-bit PWM selected.
1: 16-bit PWM selected.
Comparator Function Enable.
This bit enables the comparator function for PCA module n when set to 1.
Capture Positive Function Enable.
This bit enables the positive edge capture for PCA module n when set to 1.
Capture Negative Function Enable.
This bit enables the negative edge capture for PCA module n when set to 1.
Match Function Enable.
This bit enables the match function for PCA module n when set to 1. When enabled,
matches of the PCA counter with a module's capture/compare register cause the CCFn
bit in PCA0MD register to be set to logic 1.
Toggle Function Enable.
This bit enables the toggle function for PCA module n when set to 1. When enabled,
matches of the PCA counter with a module's capture/compare register cause the logic
level on the CEXn pin to toggle. If the PWMn bit is also set to logic 1, the module oper-
ates in Frequency Output Mode.
Pulse Width Modulation Mode Enable.
This bit enables the PWM function for PCA module n when set to 1. When enabled, a
pulse width modulated signal is output on the CEXn pin. 8 to 11-bit PWM is used if
PWM16n is cleared; 16-bit mode is used if PWM16n is set to logic 1. If the TOGn bit is
also set, the module operates in Frequency Output Mode.
Capture/Compare Flag Interrupt Enable.
This bit sets the masking of the Capture/Compare Flag (CCFn) interrupt.
0: Disable CCFn interrupts.
1: Enable a Capture/Compare Flag interrupt request when CCFn is set.
ECOMn
R/W
6
0
CAPPn
R/W
,
5
0
PCA0CPM1 = 0xDB
CAPNn
R/W
Rev. 1.2
4
0
Function
,
PCA0CPM2 = 0xDC; PCA0CPM3 = 0xDD,
MATn
R/W
3
0
C8051F50x/F51x
TOGn
R/W
2
0
PWMn
R/W
1
0
ECCFn
R/W
0
0
303

Related parts for C8051F502-IMR