ATmega168 Automotive Atmel Corporation, ATmega168 Automotive Datasheet - Page 134

no-image

ATmega168 Automotive

Manufacturer Part Number
ATmega168 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega168 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
17. Analog Comparator
17.1
134
Analog Comparator Multiplexed Input
Atmel ATtiny24/44/84 [Preliminary]
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 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 17-1. Analog Comparator Block Diagram
Notes:
When the analog-to-digital converter (ADC) is configured as a single-ended input channel, it is
possible to select any of the ADC7..0 pins to replace the negative input to the analog compar-
ator. The ADC multiplexer is used to select this input, and, consequently, the ADC must be
switched off to utilize this feature. If the analog comparator multiplexer enable bit (ACME in
ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX1..0 in ADMUX
select the input pin to replace the negative input to the analog comparator, as shown in
17-1. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input of the analog
comparator.
ADC MULTIPLEXER
1. See
2. See
REFERENCE
ACME
ADEN
OUTPUT
BANDGAP
Figure 17-1 on page
(1)
Table 17-1 on page
Figure 1-1 on page 2
ACBG
134.
135.
and
Table 12-9 on page 70
(1)
for Analog Comparator pin placement.
7701E–AVR–02/11
Table

Related parts for ATmega168 Automotive