欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16M1-15MZ 参数 Datasheet PDF下载

ATMEGA16M1-15MZ图片预览
型号: ATMEGA16M1-15MZ
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT 16KB FLASH 32QFN]
分类和应用: 微控制器
文件页数/大小: 318 页 / 7595 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第225页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第226页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第227页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第228页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第230页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第231页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第232页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第233页  
Table 20-4. Analog Comparator 1 Negative Input Selection  
AC1M2  
AC1M1  
AC1M0  
Description  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
“Vref”/6.40  
“Vref”/3.20  
“Vref”/2.13  
“Vref”/1.60  
Bandgap (1.1V)  
DAC result  
Analog comparator Negative Input (ACMPM pin)  
Reserved  
20.4.3 Analog Comparator 2 Control Register – AC2CON  
Bit  
7
AC2EN  
R/W  
0
6
AC2IE  
R/W  
0
5
4
3
-
2
1
0
AC2IS1 AC2IS0  
AC2M2 AC2M1 AC2M0 AC2CON  
Read/Write  
Initial Value  
R/W  
0
R/W  
0
-
R/W  
0
R/W  
0
R/W  
0
0
• 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 18-7.  
Table 20-5. Interrupt Sensitivity Selection  
AC2IS1  
AC2IS0  
Description  
0
0
1
1
0
1
0
1
Comparator Interrupt on output toggle  
Reserved  
Comparator interrupt on output falling edge  
Comparator interrupt on output rising edge  
Bit 3 – Res: Reserved Bit  
This bit is an unused bit in the ATmega16/32/64/M1/C1, and will always read as zero.  
• Bit 2, 1, 0– AC2M2, AC2M1, AC2M0: analog comparator 2 Multiplexer register  
These 3 bits determine the input of the negative input of the analog comparator.  
The different setting are shown in Table 20-6 on page 230.  
ATmega16/32/64/M1/C1 [DATASHEET]  
229  
7647O–AVR–01/15  
 复制成功!