ATMEGA16M1-MU Atmel, ATMEGA16M1-MU Datasheet - Page 257

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.2
8209D–AVR–11/10
AC1CON – Analog Comparator 1Control Register
Table 23-2.
Bit
Read/Write
Initial Value
• Bit 7– AC1EN: Analog Comparator 1 Enable Bit
Set this bit to enable the analog comparator 1.
Clear this bit to disable the analog comparator 1.
• Bit 6– AC1IE: Analog Comparator 1 Interrupt Enable bit
Set this bit to enable the analog comparator 1 interrupt.
Clear this bit to disable the analog comparator 1 interrupt.
• Bit 5:4– AC1IS[1:0]: Analog Comparator 1 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
Table 23-3.
• Bit 3– AC1ICE: Analog Comparator 1 Interrupt Capture Enable bit
Set this bit to enable the input capture of the Timer/Counter1 on the analog comparator event.
The comparator output is in this case directly connected to the input capture front-end logic,
making the comparator utilize the noise canceler and edge select features of the
Timer/Counter1 Input Capture interrupt. To make the comparator trigger the Timer/Counter1
Input Capture interrupt, the ICIE1 bit in the Timer Interrupt Mask Register (TIMSK1) must be set.
AC1IS[1:0]
AC0M[2:0]
00
01
10
11
000
001
010
000
111
101
110
111
Analog Comparator 0 negative input selection
Interrupt sensitivity selection
AC1EN
R/W
7
0
AC1IE
R/W
6
0
AC1IS1
Table
R/W
5
0
Analog Comparator Negative Input (ACMPM pin)
Comparator interrupt on output falling edge
Comparator interrupt on output rising edge
Comparator Interrupt on output toggle
23-3.
AC1IS0
R/W
4
0
ATmega16M1/32M1/64M1
Description
Bandgap (1.1V)
AC1ICE
Reserved
Description
R/W
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
DAC result
Reserved
3
0
AC1M2
R/W
2
0
AC1M1
R/W
1
0
AC1M0
R/W
0
0
AC1CON
257

Related parts for ATMEGA16M1-MU