ATMEGA16U2-16AU Atmel, ATMEGA16U2-16AU Datasheet - Page 223

no-image

ATMEGA16U2-16AU

Manufacturer Part Number
ATMEGA16U2-16AU
Description
8-bit Microcontrollers - MCU 16K Flash
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA16U2-16AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
AVR
Data Bus Width
8 bit
Program Memory Size
16 KB
Data Ram Size
1.25 KB
Data Rom Size
512 B
Program Memory Type
Flash
Factory Pack Quantity
1250
22. Analog Comparator
22.1
7799D–AVR–11/10
Overview
The Analog Comparator compares the input values on the positive pin AIN0 and negative pin
AIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin
AIN1, the Analog Comparator output, ACO, is set. 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 com-
parator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is
shown in
reference.
Figure 22-1. Analog Comparator Block Diagram
Notes:
REFERENCE
1. Refer to
BANDGAP
Figure
placement.
AIN0
AIN2
AIN3
AIN4
AIN5
AIN6
22-1. User can also replace by software the AIN0 input by the internal Bandgap
ACBG
Figure 1-1 on page 2
ACMUX
and
Table 12-9 on page 79
(1)
ATmega8U2/16U2/32U2
for Analog Comparator pin
223

Related parts for ATMEGA16U2-16AU