ATMEGA16M1-MU Atmel, ATMEGA16M1-MU Datasheet - Page 258

no-image

ATMEGA16M1-MU

Manufacturer Part Number
ATMEGA16M1-MU
Description
IC MCU AVR 16K FLASH 32VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16M1-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
CAN, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
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
Data Converters
A/D 11x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-
23.4.3
258
ATmega16M1/32M1/64M1
AC2CON – Analog Comparator 2 Control Register
In case ICES1 bit (see
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 Compara-
tor and the input capture function exists.
• Bit 2:0 – AC1M[2:0]: 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 23-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 – AC2IS[1:0]: Analog Comparator 2 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
AC1M[2:0]
000
001
010
011
100
101
110
111
Analog Comparator 1 negative input selection
AC2EN
R/W
7
0
“TCCR1B – Timer/Counter1 Control Register B” on page
AC2IE
R/W
6
0
AC2IS1
Table
Table 23-5 on page
R/W
Analog Comparator Negative Input (ACMPM pin)
5
0
23-4.
AC2IS0
R/W
4
0
Bandgap (1.1V)
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
DAC result
Reserved
3
0
-
-
259.
AC2M2
R/W
2
0
AC2M1
R/W
1
0
AC2M0
R/W
125) is set high,
0
0
8209D–AVR–11/10
AC2CON

Related parts for ATMEGA16M1-MU