AT87C51RB2-SLSUL Atmel, AT87C51RB2-SLSUL Datasheet - Page 28
![IC 8051 MCU 16K OTP 30MHZ 44PLCC](/photos/6/70/67043/453-44-plcc_sml.jpg)
AT87C51RB2-SLSUL
Manufacturer Part Number
AT87C51RB2-SLSUL
Description
IC 8051 MCU 16K OTP 30MHZ 44PLCC
Manufacturer
Atmel
Series
87Cr
Datasheet
1.TS87C51RB2-VIA.pdf
(86 pages)
Specifications of AT87C51RB2-SLSUL
Core Processor
8051
Core Size
8-Bit
Speed
30/20MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
16KB (16K x 8)
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
28
AT/TS8xC51Rx2
Table 6-7 shows the CCAPMn settings for the various PCA functions.
.
Table 6-6.
1.
Table 6-7.
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
CCAPMn Address
ECOMn
• The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
0
X
X
X
1
1
1
1
Symbol
n = 0 - 4
User software should not write 1s to reserved bits. These bits may be used in future 8051 family
products to invoke new features. In that case, the reset or inactive value of the new bit will be 0,
and its active value will be 1. The value read from a reserved bit is indeterminate.
CAPPn
0
1
0
1
0
0
0
0
CCAPMn: PCA Modules Compare/Capture Control Registers
PCA Module Modes (CCAPMn Registers)
Function
Not implemented, reserved for future use.
Enable Comparator. ECOMn = 1 enables the comparator function.
Capture Positive, CAPPn = 1 enables positive edge capture.
Capture Negative, CAPNn = 1 enables negative edge capture.
Match. When MATn = 1, a match of the PCA counter with this module's compare/capture register
causes the CCFn bit in CCON to be set, flagging an interrupt.
Toggle. When TOGn = 1, a match of the PCA counter with this module's compare/capture register
causes the CEXn pin to toggle.
Pulse Width Modulation Mode. PWMn = 1 enables the CEXn pin to be used as a pulse width
modulated output.
Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to generate an
interrupt.
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM4=0DEH
CAPNn
Reset value
0
0
1
1
0
0
0
0
MATn
0
0
0
0
1
1
0
1
X
-
TOGn
X
0
0
0
0
0
1
0
ECOMn CAPPn
0
PWMm
0
0
0
0
0
0
1
0
(1)
0
ECCFn
0
X
X
X
X
X
0
X
CAPNn
0
Module Function
on CEXn
CEXn
No Operation
16-bit capture by a positive-edge trigger
16-bit capture by a negative trigger on
16-bit capture by a transition on CEXn
16-bit Software Timer / Compare mode.
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
MATn
0
TOGn
0
PWMm
4188F–8051–01/08
0
ECCFn
0