ATxmega128D4-AU ATMEL [ATMEL Corporation], ATxmega128D4-AU Datasheet - Page 48

no-image

ATxmega128D4-AU

Manufacturer Part Number
ATxmega128D4-AU
Description
8/16-bit Atmel XMEGA D4 Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATXMEGA128D4-AU
Manufacturer:
Atmel
Quantity:
10 000
26. AC – Analog Comparator
26.1
26.2
8135L–AVR–06/12
Features
Overview
The analog comparator (AC) compares the voltage levels on two inputs and gives a digital out-
put based on this comparison. The analog comparator may be configured to generate interrupt
requests and/or events upon several different combinations of input change.
The analog comparator hysteresis can be adjusted in order to achieve the optimal operation for
each application.
The input selection includes analog port pins, several internal signals, and a 64-level program-
mable voltage scaler. The analog comparator output state can also be output on a pin for use by
external devices.
A constant current source can be enabled and output on a selectable pin. This can be used to
replace, for example, external resistors used to charge capacitors in capacitive touch sensing
applications.
The analog comparators are always grouped in pairs on each port. These are called analog
comparator 0 (AC0) and analog comparator 1 (AC1). They have identical behavior, but separate
control registers. Used as pair, they can be set in window mode to compare a signal to a voltage
range instead of a voltage level.
PORTA has one AC pair. Notation is ACA.
Two Analog Comparators
Selectable hysteresis
Analog comparator output available on pin
Flexible input selection
Interrupt and event generation on:
Window function interrupt and event generation on:
Constant current source with configurable output pin selection
– No
– Small
– Large
– All pins on the port
– Bandgap reference voltage
– A 64-level programmable voltage scaler of the internal V
– Rising edge
– Falling edge
– Toggle
– Signal above window
– Signal inside window
– Signal below window
CC
voltage
XMEGA D4
48

Related parts for ATxmega128D4-AU