05.08.2014 Views

xmega a3u - Elfa

xmega a3u - Elfa

xmega a3u - Elfa

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XMEGA A3U<br />

15.4 Input sensing<br />

Input sensing is synchronous or asynchronous depending on the enabled clock for the ports,<br />

and the configuration is shown in Figure 15-7.<br />

Figure 15-7.<br />

Input sensing system overview.<br />

Asynchronous sensing<br />

EDGE<br />

DETECT<br />

Interrupt<br />

Control<br />

IREQ<br />

Synchronous sensing<br />

Pn<br />

INVERTED I/O<br />

Synchronizer<br />

INn<br />

D Q D Q<br />

R<br />

R<br />

EDGE<br />

DETECT<br />

Event<br />

15.5 Alternate Port Functions<br />

When a pin is configured with inverted I/O, the pin value is inverted before the input sensing.<br />

Most port pins have alternate pin functions in addition to being a general purpose I/O pin. When<br />

an alternate function is enabled, it might override the normal port pin function or pin value. This<br />

happens when other peripherals that require pins are enabled or configured to use pins. If and<br />

how a peripheral will override and use pins is described in the section for that peripheral. ”Pinout<br />

and Pin Functions” on page 57 shows which modules on peripherals that enable alternate functions<br />

on a pin, and which alternate functions that are available on a pin.<br />

8386B–AVR–12/11<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!