Electronic Components Datasheet Search
  English  ▼

X  

ATmega644PA Datasheet(PDF) 239 Page - ATMEL Corporation

Part # ATmega644PA
Description  8-bit Microcontroller with 16/32/64/128K Bytes In-Sytem Programmable Flash
PDF  468 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega644PA Datasheet(HTML) 239 Page - ATMEL Corporation

Back Button ATmega644PA Datasheet HTML 235Page - ATMEL Corporation ATmega644PA Datasheet HTML 236Page - ATMEL Corporation ATmega644PA Datasheet HTML 237Page - ATMEL Corporation ATmega644PA Datasheet HTML 238Page - ATMEL Corporation ATmega644PA Datasheet HTML 239Page - ATMEL Corporation ATmega644PA Datasheet HTML 240Page - ATMEL Corporation ATmega644PA Datasheet HTML 241Page - ATMEL Corporation ATmega644PA Datasheet HTML 242Page - ATMEL Corporation ATmega644PA Datasheet HTML 243Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 239 / 468 page
background image
239
8152G–AVR–11/09
ATmega164PA/324PA/644PA/1284P
21. AC - Analog Comparator
21.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 21-1.
The Power Reduction ADC bit, PRADC, in ”PRR – Power Reduction Register” on page 49 must
be disabled by writing a logical zero to be able to use the ADC input MUX.
Figure 21-1. Analog Comparator Block Diagram
(2)
Notes:
1. See Table 21-1 on page 239.
2. Refer to Figure 1-1 on page 2 and Table 13-5 on page 83 for Analog Comparator pin
placement.
21.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
21-1 on page 239. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the
Analog Comparator.
ACBG
BANDGAP
REFERENCE
ADC MULTIPLEXER
OUTPUT
ACME
ADEN
(1)
Table 21-1.
Analog Comparator Mulitiplexed Input
ACME
ADEN
MUX2..0
Analog Comparator Negative Input
0
x
xxx
AIN1
1
1
xxx
AIN1
10
000
ADC0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com