Electronic Components Datasheet Search
  English  ▼

X  

ATmega16U4 Datasheet(PDF) 290 Page - ATMEL Corporation

Part # ATmega16U4
Description  8-bit Microcontroller with 16/32K Bytes of ISP Flash and USB Controller
PDF  408 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega16U4 Datasheet(HTML) 290 Page - ATMEL Corporation

Back Button ATmega16U4 Datasheet HTML 286Page - ATMEL Corporation ATmega16U4 Datasheet HTML 287Page - ATMEL Corporation ATmega16U4 Datasheet HTML 288Page - ATMEL Corporation ATmega16U4 Datasheet HTML 289Page - ATMEL Corporation ATmega16U4 Datasheet HTML 290Page - ATMEL Corporation ATmega16U4 Datasheet HTML 291Page - ATMEL Corporation ATmega16U4 Datasheet HTML 292Page - ATMEL Corporation ATmega16U4 Datasheet HTML 293Page - ATMEL Corporation ATmega16U4 Datasheet HTML 294Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 290 / 408 page
background image
290
7766D–AVR–01/09
ATmega16U4/ATmega32U4
23. Analog Comparator
The Analog Comparator compares the input values on the positive pin AIN+ and negative pin
AIN-. When the voltage on the positive pin AIN+ is higher than the voltage on the negative pin
AIN-, 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 23-1.
AIN+ can be connected either to the AIN0 (PE6) pin, or to the internal Bandgap reference. AIN-
can only be connected to the ADC multiplexer.
The Power Reduction ADC bit, PRADC, in “Power Reduction Register 0 - PRR0” on page 44
must be disabled by writing a logical zero to be able to use the ADC input MUX.
Figure 23-1. Analog Comparator Block Diagram
(2)
Notes:
1. See Table 23-2 on page 292.
2. Refer to “Pinout ATmega16U4/ATmega32U4” on page 3 and Table 10-3 on page 71 for Ana-
log Comparator pin placement.
23.0.1
ADC Control and Status Register B – ADCSRB
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero), the
ADC multiplexer is connected to the negative input to the Analog Comparator. When this bit is
written logic zero, the Bandgap reference is connected to the negative input of the Analog Com-
parator (See “Internal Voltage Reference” on page 53.). For a detailed description of this bit, see
“Analog Comparator Multiplexed Input” on page 292.
23.0.2
Analog Comparator Control and Status Register – ACSR
ACBG
BANDGAP
REFERENCE
ADC MULTIPLEXER
OUTPUT
ACME
ADEN
(1)
AIN+
AIN-
BANDGAP
REFERENCE
Bit
7
6
5
4
3210
–ACME
–
–
-
ADTS2
ADTS1
ADTS0
ADCSRB
Read/Write
R
R/W
R
R
R
R/W
R/W
R/W
Initial Value
0
0
0
0
0000
Bit
7654
32
1
0
ACD
ACBG
ACO
ACI
ACIE
ACIC
ACIS1
ACIS0
ACSR
Read/Write
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W



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