AT89LP3240 Atmel Corporation, AT89LP3240 Datasheet - Page 130

no-image

AT89LP3240

Manufacturer Part Number
AT89LP3240
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP3240

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
38
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
4.25
Eeprom (bytes)
8192
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 3.6
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP3240-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP3240-20JU
Manufacturer:
Atmel
Quantity:
10 000
Table 19-1.
Notes:
130
Symbol
CSA [1-0]
CONA
CFA
CENA
CMA [2-0]
ACSRA = 97H
Not Bit Addressable
Bit
1. CONA must be cleared to 0 before changing CSA[1-0].
2. Debouncing modes require the use of Timer 1 to generate the sampling delay.
AT89LP3240/6440
Function
Comparator A Positive Input Channel Select
CSA1
0
0
1
1
Comparator A Input Connect. When CONA = 1 the analog input pins are connected to the comparator. When CONA = 0
the analog input pins are disconnected from the comparator. CONA must be cleared to 0 before changing CSA[1-0] or
RFA[1-0].
Comparator A Interrupt Flag. Set when the comparator output meets the conditions specified by the CMA [2-0] bits and
CENA is set. The flag must be cleared by software. The interrupt may be enabled/disabled by setting/clearing bit 6 of IE.
Comparator A Enable. Set this bit to enable the comparator. Clearing this bit will force the comparator output low and
prevent further events from setting CFA. When CENA = 1 the analog input pins, P2.4—P2.7, have their digital inputs
disabled if they are configured in input-only mode.
Comparator A Interrupt Mode
CMA2
0
0
0
0
1
1
1
1
ACSRA
CSA1
7
– Analog Comparator A Control & Status Register
CSA0
0
1
0
1
CMA1
0
0
1
1
0
0
1
1
CSA0
6
A+ Channel
AIN0 (P2.4)
AIN1 (P2.5)
AIN2 (P2.6)
AIN3 (P2.7)
CMA0
0
1
0
1
0
1
0
1
CONA
5
Interrupt Mode
Negative (Low) level
Positive edge
Toggle with debouncing
Positive edge with debouncing
Negative edge
Toggle
Negative edge with debouncing
Positive (High) level
(1)
CFA
4
(2)
CENA
3
(2)
(2)
CMA2
2
Reset Value = 0000 0000B
CMA1
1
CMA0
3706C–MICRO–2/11
0

Related parts for AT89LP3240