ATmega168 Automotive Atmel Corporation, ATmega168 Automotive Datasheet - Page 234

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
20.0.1
20.0.2
234
ATmega48/88/168 Automotive
ADC Control and Status Register B – ADCSRB
Analog Comparator Control and Status Register – ACSR
Figure 20-1. Analog Comparator Block Diagram
Notes:
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero), the
ADC multiplexer selects the negative input to the Analog Comparator. When this bit is written
logic zero, AIN1 is applied to the negative input of the Analog Comparator. For a detailed
description of this bit, see
• 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.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
See “Internal Voltage Reference” on page 46.
ADC MULTIPLEXER
1. See
2. Refer to
REFERENCE
ACME
ADEN
BANDGAP
OUTPUT
placement.
Table 20-2 on page
(1)
ACD
R/W
7
0
R
7
0
ACBG
Figure 1-1 on page 2
ACBG
ACME
R/W
R/W
“Analog Comparator Multiplexed Input” on page
6
0
6
0
236.
ACO
N/A
R
5
R
5
0
and
Table 10-9 on page 77
R/W
ACI
4
0
R
4
0
(2)
ACIE
R/W
R
3
0
3
0
ADTS2
ACIC
R/W
R/W
2
0
2
0
for Analog Comparator pin
ADTS1
ACIS1
R/W
R/W
1
0
1
0
236.
ADTS0
ACIS0
R/W
R/W
0
0
0
0
7530I–AVR–02/10
ADCSRB
ACSR

Related parts for ATmega168 Automotive