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

ATMEGA2560-16AU-SL383 参数 Datasheet PDF下载

ATMEGA2560-16AU-SL383图片预览
型号: ATMEGA2560-16AU-SL383
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 16MHz, CMOS, PQFP100, 14 X 14 MM, 1 MM HEIGHT, 0.50 MM PITCH, GREEN, PLASTIC, MS-026AED, TQFP-100]
分类和应用: 时钟微控制器
文件页数/大小: 448 页 / 7518 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第269页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第270页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第271页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第272页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第274页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第275页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第276页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第277页  
ATmega640/1280/1281/2560/2561  
When this bit is set, a fixed bandgap reference voltage replaces the positive input to the Analog  
Comparator. When this bit is cleared, AIN0 is applied to the positive input of the Analog Compar-  
ator. When the bandgap reference is used as input to the Analog Comparator, it will take a  
certain time for the voltage to stabilize. If not stabilized, the first conversion may give a wrong  
value. See “Internal Voltage Reference” on page 62.  
• Bit 5 – ACO: Analog Comparator Output  
The output of the Analog Comparator is synchronized and then directly connected to ACO. The  
synchronization introduces a delay of 1 - 2 clock cycles.  
• Bit 4 – ACI: Analog Comparator Interrupt Flag  
This bit is set by hardware when a comparator output event triggers the interrupt mode defined  
by ACIS1 and ACIS0. The Analog Comparator interrupt routine is executed if the ACIE bit is set  
and the I-bit in SREG is set. ACI is cleared by hardware when executing the corresponding inter-  
rupt handling vector. Alternatively, ACI is cleared by writing a logic one to the flag.  
• Bit 3 – ACIE: Analog Comparator Interrupt Enable  
When the ACIE bit is written logic one and the I-bit in the Status Register is set, the Analog Com-  
parator interrupt is activated. When written logic zero, the interrupt is disabled.  
• Bit 2 – ACIC: Analog Comparator Input Capture Enable  
When written logic one, this bit enables the input capture function in Timer/Counter1 to be trig-  
gered by the Analog Comparator. 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. When written logic zero, no connection  
between the Analog Comparator and the input capture function exists. To make the comparator  
trigger the Timer/Counter1 Input Capture interrupt, the ICIE1 bit in the Timer Interrupt Mask  
Register (TIMSK1) must be set.  
• Bits 1, 0 – ACIS1, ACIS0: Analog Comparator Interrupt Mode Select  
These bits determine which comparator events that trigger the Analog Comparator interrupt. The  
different settings are shown in Table 25-2.  
Table 25-2. ACIS1/ACIS0 Settings  
Interrupt Mode  
ACIS1  
ACIS0  
0
0
1
1
0
1
0
1
Comparator Interrupt on Output Toggle.  
Reserved  
Comparator Interrupt on Falling Output Edge.  
Comparator Interrupt on Rising Output Edge.  
When changing the ACIS1/ACIS0 bits, the Analog Comparator Interrupt must be disabled by  
clearing its Interrupt Enable bit in the ACSR Register. Otherwise an interrupt can occur when the  
bits are changed.  
25.2.3  
DIDR1 – Digital Input Disable Register 1  
Bit  
(0x7F)  
7
6
5
4
3
2
1
AIN1D  
R/W  
0
0
AIN0D  
R/W  
0
DIDR1  
Read/Write  
R
0
R
0
R
0
R
0
R
0
R
0
Initial Value  
273  
2549L–AVR–08/07  
 复制成功!