ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 266

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
20.4.3
266
Atmel ATmega16/32/64/M1/C1
Analog Comparator 2 Control Register – AC2CON
In case ICES1 bit
the rising edge of AC1O is the capture/trigger event of the Timer/Counter1, in case ICES1 is
set to zero, it is the falling edge which is taken into account.
Clear this bit to disable this function. In this case, no connection between the Analog Compar-
ator and the input capture function exists.
• Bit 2, 1, 0– AC1M2, AC1M1, AC1M0: Analog Comparator 1 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in
Table 20-4.
Bit
Read/Write
Initial Value
• Bit 7– AC2EN: Analog Comparator 2 Enable Bit
Set this bit to enable the analog comparator 2.
Clear this bit to disable the analog comparator 2.
• Bit 6– AC2IE: Analog Comparator 2 Interrupt Enable bit
Set this bit to enable the analog comparator 2 interrupt.
Clear this bit to disable the analog comparator 2 interrupt.
• Bit 5, 4– AC2IS1, AC2IS0: Analog Comparator 2 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
Table 20-5.
AC1M2
0
0
0
0
1
1
1
1
AC2IS1
0
0
1
1
Analog Comparator 1 negative input selection
Interrupt sensitivity selection
AC2IS0
0
1
0
1
AC1M1
0
0
1
1
0
0
1
1
AC2EN
R/W
7
0
(“Timer/Counter1 Control Register B – TCCR1B” on page
AC2IE
R/W
6
0
Description
Comparator Interrupt on output toggle
Reserved
Comparator interrupt on output falling edge
Comparator interrupt on output rising edge
AC1M0
0
1
0
1
0
1
0
1
AC2IS1
R/W
Table
Table
5
0
20-4.
18-7.
AC2IS0
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
Bandgap (1.1V)
DAC result
Analog Comparator Negative Input (ACMPM pin)
Reserved
R/W
4
0
3
0
-
-
AC2M2
R/W
2
0
AC2M1
R/W
1
0
AC2M0
132) is set high,
R/W
0
0
7647G–AVR–09/11
AC2CON

Related parts for ATmega16M1 Automotive