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

ATMEGA64A-AU 参数 Datasheet PDF下载

ATMEGA64A-AU图片预览
型号: ATMEGA64A-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有64K字节的系统内可编程闪存 [8-bit Microcontroller with 64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 7964 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA64A-AU的Datasheet PDF文件第245页浏览型号ATMEGA64A-AU的Datasheet PDF文件第246页浏览型号ATMEGA64A-AU的Datasheet PDF文件第247页浏览型号ATMEGA64A-AU的Datasheet PDF文件第248页浏览型号ATMEGA64A-AU的Datasheet PDF文件第250页浏览型号ATMEGA64A-AU的Datasheet PDF文件第251页浏览型号ATMEGA64A-AU的Datasheet PDF文件第252页浏览型号ATMEGA64A-AU的Datasheet PDF文件第253页  
ATmega64A  
Table 23-4. Input Channel and Gain Selections (Continued)  
MUX4:0  
11010  
11011  
11100  
11101  
11110  
11111  
Single Ended Input Positive Differential Input  
Negative Differential Input Gain  
ADC2  
ADC3  
ADC4  
ADC5  
ADC2  
ADC2  
ADC2  
ADC2  
1x  
1x  
1x  
1x  
1.22V (VBG  
0V (GND)  
)
N/A  
23.9.2  
ADCSRA – ADC Control and Status Register A  
Bit  
7
ADEN  
R/W  
0
6
ADSC  
R/W  
0
5
ADATE  
R/W  
0
4
ADIF  
R/W  
0
3
ADIE  
R/W  
0
2
1
ADPS1  
R/W  
0
0
ADPS0  
R/W  
0
0x06 (0x26)  
Read/Write  
Initial Value  
ADPS2  
ADCSRA  
R/W  
0
• Bit 7 – ADEN: ADC Enable  
Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned off. Turning the  
ADC off while a conversion is in progress, will terminate this conversion.  
• Bit 6 – ADSC: ADC Start Conversion  
In Single Conversion mode, write this bit to one to start each conversion. In Free Running mode,  
write this bit to one to start the first conversion. The first conversion after ADSC has been written  
after the ADC has been enabled, or if ADSC is written at the same time as the ADC is enabled,  
will take 25 ADC clock cycles instead of the normal 13. This first conversion performs initializa-  
tion of the ADC.  
ADSC will read as one as long as a conversion is in progress. When the conversion is complete,  
it returns to zero. Writing zero to this bit has no effect.  
• Bit 5 – ADATE: ADC Auto Trigger Enable  
When this bit is written to one, Auto Triggering of the ADC is enabled. The ADC will start a con-  
version on a positive edge of the selected trigger signal. The trigger source is selected by setting  
the ADC Trigger Select bits, ADTS in ADCSRB.  
• Bit 4 – ADIF: ADC Interrupt Flag  
This bit is set when an ADC conversion completes and the data registers are updated. The ADC  
Conversion Complete Interrupt is executed if the ADIE bit and the I-bit in SREG are set. ADIF is  
cleared by hardware when executing the corresponding interrupt handling vector. Alternatively,  
ADIF is cleared by writing a logical one to the flag. Beware that if doing a Read-Modify-Write on  
ADCSRA, a pending interrupt can be disabled. This also applies if the SBI and CBI instructions  
are used.  
• Bit 3 – ADIE: ADC Interrupt Enable  
When this bit is written to one and the I-bit in SREG is set, the ADC Conversion Complete Inter-  
rupt is activated.  
249  
8160C–AVR–07/09  
 复制成功!