
117
8210C–AVR–09/11
Atmel AVR XMEGA D
11.7
Port Event
Port pins can generate an event when there is a change on the pin. The sense configurations
decide
the conditions for
each pin to generate events. Event generation requires the presence of
a peripheral clock, and asynchronous event generation is not possible. For edge sensing, the
changed pin value must be sampled once by the peripheral clock for an event to be generated.
For level sensing, a low-level pin value will not generate events, and a high-level pin value will
continuously generate events. For events to be generated on a low level, the pin configuration
must be set to inverted I/O.
11.8
Alternate Port Functions
Most port pins have alternate pin functions in addition to being a general purpose I/O pin. When
an alternate function is enabled, it might override the normal port pin function or pin value. This
happens when other peripherals that require pins are enabled or configured to use pins. If and
how a peripheral will override and use pins is described in the section for that peripheral.
The port override signals and related logic (grey) are shown in
. These
signals are not accessible from software, but are internal signals between the overriding periph-
eral and the port pin.
Table 11-3.
Limited asynchronous sense support.
Sense Settings
Supported
Interrupt Description
Rising edge
No
-
Falling edge
No
-
Both edges
Yes
Pin value must be kept unchanged during wake up
Low level
Yes
Pin level must be kept unchanged during wake up