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

ATMEGA48PA-AU 参数 Datasheet PDF下载

ATMEGA48PA-AU图片预览
型号: ATMEGA48PA-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与4/8/ 16 / 32K字节的系统内可编程闪存 [8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 448 页 / 12817 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48PA-AU的Datasheet PDF文件第242页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第243页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第244页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第245页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第247页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第248页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第249页浏览型号ATMEGA48PA-AU的Datasheet PDF文件第250页  
ATmega48PA/88PA/168PA/328P  
22. Analog Comparator  
22.1 Overview  
The Analog Comparator compares the input values on the positive pin AIN0 and negative pin  
AIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin  
AIN1, the Analog Comparator output, ACO, is set. The comparator’s output can be set to trigger  
the Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separate  
interrupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on com-  
parator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is  
shown in Figure 22-1.  
The Power Reduction ADC bit, PRADC, in ”Minimizing Power Consumption” on page 42 must  
be disabled by writing a logical zero to be able to use the ADC input MUX.  
Figure 22-1. Analog Comparator Block Diagram(2)  
BANDGAP  
REFERENCE  
ACBG  
ACME  
ADEN  
ADC MULTIPLEXER  
OUTPUT(1)  
Notes: 1. See Table 22-1 on page 247.  
2. Refer to Figure 1-1 on page 2 and Table 13-9 on page 88 for Analog Comparator pin  
placement.  
22.2 Analog Comparator Multiplexed Input  
It is possible to select any of the ADC7..0 pins to replace the negative input to the Analog Com-  
parator. The ADC multiplexer is used to select this input, and consequently, the ADC must be  
switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in  
ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX2..0 in ADMUX  
select the input pin to replace the negative input to the Analog Comparator, as shown in Table  
22-1. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the Analog  
Comparator  
246  
8161D–AVR–10/09  
 复制成功!