29
8068C–AVR–06/08
XMEGA A3
14.4
Input sensing
•
Sense both edges
•
Sense rising edges
•
Sense falling edges
•
Sense low level
Input sensing is synchronous or asynchronous depending on the enabled clock for the ports,
and the configuration is shown in
Figure 14-7.
Input sensing system overview
W
hen a pin is configured with inverted I/O the pin value is inverted before the input sensing.
14.5
Port Interrupt
Each ports have two interrupts with separate priority and interrupt vector. All pins on the port can
be individually selected as source for each of the interrupts. The interrupts are then triggered
according to the input sense configuration for each pin configured as source for the interrupt.
14.6
Alternate Port Functions
In addition to the input/output functions on all port pins, most pins have alternate functions. This
means that other modules or peripherals connected to the port can use the port pins for their
functions, such as communication or pulse-width modulation.
shows which modules on peripherals that enables alternate functions on a pin, and
what alternate functions that is available on a pin.
INVERTED I/O
Interrupt
Control
IREQ
Event
Pn
D Q
R
D Q
R
Synchronizer
INn
EDGE
DETECT
Asynchronous sensing
Synchronous sensing
EDGE
DETECT