ATMEGA162-16AI Atmel, ATMEGA162-16AI Datasheet - Page 195

IC MCU AVR 16K 5V 16MHZ 44-TQFP

ATMEGA162-16AI

Manufacturer Part Number
ATMEGA162-16AI
Description
IC MCU AVR 16K 5V 16MHZ 44-TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA162-16AI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA162-16AI
Manufacturer:
MIT
Quantity:
170
Part Number:
ATMEGA162-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA162-16AI
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATMEGA162-16AI
Manufacturer:
ATMEL
Quantity:
20 000
Analog
Comparator
Analog Comparator
Control and Status
Register – ACSR
2513K–AVR–07/09
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
Figure 82. Analog Comparator Block Diagram
Note:
• Bit 7 – ACD: Analog Comparator Disable
When this bit is written logic one, the power to the Analog Comparator is switched off. This bit
can be set at any time to turn off the Analog Comparator. This will reduce power consumption in
Active and Idle mode. When changing the ACD bit, the Analog Comparator Interrupt must be
disabled by clearing the ACIE bit in ACSR. Otherwise an interrupt can occur when the bit is
changed.
• Bit 6 – ACBG: Analog Comparator Bandgap Select
When this bit is set, a fixed bandgap reference voltage replaces the positive input to the Analog
Comparator. When this bit is cleared, AIN0 is applied to the positive input of the Analog Compar-
ator. When the bandgap reference is used as input to the Analog Comparator, it will take a
certain time for the voltage to stabilize. If not stibilized, the first conversion may give a wrong
value.
• Bit 5 – ACO: Analog Comparator Output
The output of the Analog Comparator is synchronized and then directly connected to ACO. The
synchronization introduces a delay of 1 - 2 clock cycles.
Bit
Read/Write
Initial Value
See “Internal Voltage Reference” on page 52.
REFERENCE
1. Refer to
BANDGAP
Figure
ACD
R/W
7
0
82.
ACBG
Figure 1 on page 2
ACBG
R/W
6
0
ACO
N/A
R
5
and
R/W
ACI
4
0
Table 32 on page 72
(1)
ACIE
R/W
3
0
ACIC
R/W
2
0
for Analog Comparator pin placement.
ACIS1
R/W
1
0
ATmega162/V
ACIS0
R/W
0
0
ACSR
195

Related parts for ATMEGA162-16AI