AT89LP216 Atmel Corporation, AT89LP216 Datasheet - Page 56

no-image

AT89LP216

Manufacturer Part Number
AT89LP216
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP216

Flash (kbytes)
2 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
14
Spi
1
Uart
1
Sram (kbytes)
0.125
Operating Voltage (vcc)
2.4 to 5.5
Timers
2
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP216-20XU
Manufacturer:
ATMEL
Quantity:
539
Part Number:
AT89LP216-20XU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Table 20-1.
Note:
Figure 20-1. Negative Edge with Debouncing Example
56
Symbol
CIDL
CF
CEN
CM [2:0]
ACSR = 97H
Not Bit Addressable
Bit
1. Debouncing modes require the use of Timer 1 to generate the sampling delay.
AT89LP216
Function
Comparator Idle Enable. If CIDL = 1 the comparator will continue to operate during Idle mode. If CIDL = 0 the
comparator is powered down during Idle mode. The comparator is always shut down during Power-down mode.
Comparator Interrupt Flag. Set when the comparator output meets the conditions specified by the CM [2:0] bits and CEN
is set. The flag must be cleared by software. The interrupt may be enabled/disabled by setting/clearing bit 6 of IE.
Comparator Enable. Set this bit to enable the comparator. Clearing this bit will force the comparator output low and
prevent further events from setting CF. When CEN = 1 the analog input pins, P1.0 and P1.1, have their digital inputs
disabled.
Comparator Interrupt Mode
CM2
0
0
0
0
1
1
1
1
ACSR
7
– Analog Comparator Control & Status Register
CM1
0
0
1
1
0
0
1
1
CM0
0
1
0
1
0
1
0
1
Timer 1 Overflow
Comparator Out
6
Interrupt Mode
Negative (Low) level
Positive edge
Toggle with debouncing
Positive edge with debouncing
Negative edge
Toggle
Negative edge with debouncing
Positive (High) level
CF
Start
CIDL
5
Compare
CF
4
(1)
Start
(1)
(1)
CEN
3
Compare
CM3
2
Reset Value = XXX0 0000B
CM1
1
3621E–MICRO–11/10
CM0
0

Related parts for AT89LP216