at89lp216-20xi ATMEL Corporation, at89lp216-20xi Datasheet - Page 56

no-image

at89lp216-20xi

Manufacturer Part Number
at89lp216-20xi
Description
At89lp216 8-bit Microcontroller With 2k Bytes Flash
Manufacturer
ATMEL Corporation
Datasheet
Table 19-1.
Note:
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
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
CIDL
5
CF
4
(1)
(1)
(1)
CEN
3
CM3
2
Reset Value = XXX0 0000B
CM1
1
3621B–MICRO–11/07
CM0
0

Related parts for at89lp216-20xi