Input Sensing; Port Interrupt; Alternate Port Functions - Atmel XMEGA A3 series Manual

8/16-bit avr
Table of Contents

Advertisement

14.4

Input sensing

14.5

Port Interrupt

14.6

Alternate Port Functions

8068C–AVR–06/08
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
Pn
INVERTED I/O
When a pin is configured with inverted I/O the pin value is inverted before the input sensing.
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.
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.
page 48
shows which modules on peripherals that enables alternate functions on a pin, and
what alternate functions that is available on a pin.
Figure 14-7 on page
Asynchronous sensing
EDGE
DETECT
Synchronous sensing
Synchronizer
INn
EDGE
D Q
D Q
DETECT
R
R
XMEGA A3
29.
Interrupt
Control
"Pinout and Pin Functions" on
IREQ
Event
29

Advertisement

Table of Contents
loading

Table of Contents