DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT89S2051 View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
AT89S2051 Datasheet PDF : 45 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
AT89S2051/S4051
20. Analog Comparator Register
.
Table 20-1. ACSR – Analog Comparator Control & Status Register
ACSR = 97H
Not Bit Addressable
CF
CEN
Bit
7
6
5
4
3
Reset Value = XXX0 0000B
CM2
2
CM1
1
CM0
0
Symbol
CF
CEN
CM [2:0]
Function
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.
Comparator Interrupt Mode
210
--- ---- ----
Interrupt Mode
---------------------------------------
000
Negative (Low) level
001
Positive edge
010
Toggle with debounce
011
Positive edge with debounce
100
Negative edge
101
Toggle
110
Negative edge with debounce
111
Positive (High) level
19
3390C–MICRO–7/05

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]