ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 249

no-image

ATmega16M1 Automotive

Manufacturer Part Number
ATmega16M1 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega16M1 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
27
Ext Interrupts
27
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Can
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
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
2
Output Compare Channels
14
Input Capture Channels
1
Pwm Channels
10
32khz Rtc
No
Calibrated Rc Oscillator
Yes
18.9.4
18.9.4.1
18.9.4.2
18.9.5
7647G–AVR–09/11
ADC Result Data Registers – ADCH and ADCL
Digital Input Disable Register 0 – DIDR0
ADLAR = 0
ADLAR = 1
When an ADC conversion is complete, the conversion results are stored in these two result
data registers.
When the ADCL register is read, the two ADC result data registers can’t be updated until the
ADCH register has also been read.
Consequently, in 10-bit configuration, the ADCL register must be read first before the ADCH.
Nevertheless, to work easily with only 8-bit precision, there is the possibility to left adjust the
result thanks to the ADLAR bit in the ADCSRA register. Like this, it is sufficient to only read
ADCH to have the conversion result.
• Bit 7:0 – ADC7D..ADC0D, ACMPN0D, ACMPN1D, ACMPN2D, ACMPN3D, ACMP2D,
When this bit is written logic one, the digital input buffer on the corresponding ADC pin is dis-
abled. The corresponding PIN Register bit will always read as zero when this bit is set. When
an analog signal is applied to the ADC7..0 pin and the digital input from this pin is not needed,
this bit should be written logic one to reduce power consumption in the digital input buffer.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
AMP2ND:
ADC7:0, ACMPN0, ACMPN1, ACMPN2, ACMPN3, ACMP2, AMP2N Digital Input Disable
ADC7D
ADC7
ADC9
ADC1
R/W
R
R
R
R
7
0
7
0
0
7
0
0
-
ACMPN1D
AMP2ND
ADC6D
ADC6
ADC8
ADC0
R/W
R
R
6
0
R
R
6
0
0
6
0
0
-
ACMPN0D
ADC5D
ADC5
ADC7
R/W
R
R
5
0
5
0
0
R
R
5
0
0
-
-
Atmel ATmega16/32/64/M1/C1
ADC4D
ADC4
ADC6
R/W
R
R
R
R
4
0
4
0
0
4
0
0
-
-
ACMPN2D
ADC3D
ADC3
ADC5
R/W
R
R
R
R
3
0
3
0
0
3
0
0
-
-
ACMP2D
ADC2D
ADC2
ADC4
R/W
R
R
2
0
2
0
0
2
R
R
0
0
-
-
ADC1D
ADC9
ADC1
ADC3
R/W
R
R
1
0
1
0
0
R
R
1
0
0
-
ACMPN3D
ADC0D
ADC8
ADC0
ADC2
R/W
R
R
0
0
0
0
0
R
R
0
0
0
-
ADCH
ADCL
ADCH
ADCL
DIDR0
249

Related parts for ATmega16M1 Automotive