English
Language : 

ATXMEGA256A3B_10 Datasheet, PDF (31/105 Pages) ATMEL Corporation – 8/16-bit XMEGA A3B Microcontroller
XMEGA A3B
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 31.
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 50 shows which modules on peripherals that enables alternate functions on a pin, and
what alternate functions that is available on a pin.
31
8116H–AVR–08/10