AT89LP51ED2 Atmel Corporation, AT89LP51ED2 Datasheet - Page 99

no-image

AT89LP51ED2

Manufacturer Part Number
AT89LP51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51ED2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
2.25
Eeprom (bytes)
4096
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
Table 15-3.
Table 15-4.
3714A–MICRO–7/11
CCON Address = 0D8H
Bit Addressable
Bit
Symbol
CF
CR
CCF4
CCF3
CCF2
CCF1
CCF0
CH Address = 0F9H
Not Bit Addressable
Bit
Symbol
C
15-8
C15
CF
Function
PCA Counter Overflow Flag
Set by hardware when the PCA counter overflows from FFFFH to 0000H. CF generates an interrupt if the ECF bit in
CMOD and EC bit in IEN0 are both set. Must be cleared by software.
PCA Counter Run Control
Clear to disable the PCA Counter from operating. Set to enable the PCA Counter to count at the CPS rate in CMOD.
PCA Module 4 Interrupt Flag
Set by hardware when a compare of match occurs in Module 4. CCF4 generates an interrupt if the ECCF4 bit in CCAPM4
and EC bit in IEN0 are both set. Must be cleared by software.
PCA Module 3 Interrupt Flag
Set by hardware when a compare of match occurs in Module 2. CCF3 generates an interrupt if the ECCF3 bit in CCAPM3
and EC bit in IEN0 are both set. Must be cleared by software.
PCA Module 2 Interrupt Flag
Set by hardware when a compare of match occurs in Module 2. CCF2 generates an interrupt if the ECCF2 bit in CCAPM2
and EC bit in IEN0 are both set. Must be cleared by software.
PCA Module 1 Interrupt Flag
Set by hardware when a compare of match occurs in Module 1. CCF1 generates an interrupt if the ECCF1 bit in CCAPM1
and EC bit in IEN0 are both set. Must be cleared by software.
PCA Module 0 Interrupt Flag
Set by hardware when a compare of match occurs in Module 0. CCF0 generates an interrupt if the ECCF0 bit in CCAPM0
and EC bit in IEN0 are both set. Must be cleared by software.
7
7
Function
Module n Compare/Capture Register High
Holds the higher order bits of the 16-bit PCA Timer/Counter.
CCON – PCA Counter Control Register
CH – PCA Counter Register High
C14
CR
6
6
• Bit CF: The CF bit (CCON.7) is set when the PCA counter overflows and an interrupt will be
• Bits 0 through 4 are the flags for the modules (bit 0 for module 0, bit 1 for module 1, etc.) and
generated if the ECF bit in the CMOD register is set. The CF bit can only be cleared by
software.
are set by hardware when either a match or a capture occurs. These flags also can only be
cleared by software. The PCA interrupt system is shown in
C13
5
5
CCF4
C12
4
4
AT89LP51RD2/ED2/ID2 Preliminary
CCF3
C11
3
3
CCF2
C10
2
2
Figure
Reset Value = 0000 0000B
Reset Value = 00x0 0000B
CCF1
C9
1
1
15-2.
CCF0
C8
0
0
99

Related parts for AT89LP51ED2