atmega323l ATMEL Corporation, atmega323l Datasheet - Page 124

no-image

atmega323l

Manufacturer Part Number
atmega323l
Description
Atmega323 8-bit Avr Microcontroller With 32k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
The Analog
Comparator
124
ATmega323(L)
The Analog Comparator compares the input values on the positive pin PB2 (AIN0) and
negative pin PB3 (AIN1). When the voltage on the positive pin PB2 (AIN0) is higher than
the voltage on the negative pin PB3 (AIN1), the Analog Comparator Output, ACO, is set
(one). The comparator’s output can be set to trigger the Timer/Counter1 Input Capture
function. In addition, the comparator can trigger a separate interrupt, exclusive to the
Analog Comparator. The user can select Interrupt triggering on comparator output rise,
fall or toggle. A block diagram of the comparator and its surrounding logic is shown in
Figure 59.
Figure 59. Analog Comparator Block Diagram
Note:
ACME
ADEN
ADC MULTIPLEXER
REFERENCE
BANDGAP
OUTPUT
See Figure 60 on page 128.
1)
ACBG
1457G–AVR–09/03

Related parts for atmega323l