English
Language : 

ATXMEGA16A4_14 Datasheet, PDF (30/108 Pages) ATMEL Corporation – Non-volatile Program and Data Memories
XMEGA A4
15.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 15-7 on page 30.
Figure 15-7. Input sensing system overview
Asynchronous sensing
EDGE
DETECT
Interrupt
Control
IREQ
Pn
INVERTED I/O
Synchronizer
INn
D QD Q
R
R
Synchronous sensing
EDGE
DETECT
Event
When a pin is configured with inverted I/O, the pin value is inverted before the input sensing.
15.5 Port Interrupt
Each port has 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.
15.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. ”Pinout and Pin Functions” on
page 49 shows which modules on peripherals that enable alternate functions on a pin, and
which alternate function is available on a pin.
8069R–AVR–06/2013
30
Not recommended for new designs -
Use XMEGA A4U series