Datasheet

SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
618
31. Parallel Input/Output Controller (PIO)
31.1 Description
The Parallel Input/Output Controller (PIO) manages up to 32 fully programmable input/output lines. Each I/O line
may be dedicated as a general-purpose I/O or be assigned to a function of an embedded peripheral. This assures
effective optimization of the pins of a product.
Each I/O line is associated with a bit number in all of the 32-bit registers of the 32-bit wide User Interface.
Each I/O line of the PIO Controller features:
An input change interrupt enabling level change detection on any I/O line.
Additional Interrupt modes enabling rising edge, falling edge, low level or high level detection on any I/O line.
A glitch filter providing rejection of glitches lower than one-half of system clock cycle.
A debouncing filter providing rejection of unwanted pulses from key or push button operations.
Multi-drive capability similar to an open drain I/O line.
Control of the pull-up of the I/O line.
Input visibility and output control.
The PIO Controller also features a synchronous output providing up to 32 bits of data output in a single write
operation.
31.2 Embedded Characteristics
Up to 4 PIO Controllers, PIOA, PIOB, PIOC, PIOD, PIOE and PIOF controlling a maximum of 103 I/O Lines
Each PIO Controller controls up to 32 programmable I/O Lines
Note: 1.This device is not commercially available. Mounted only on the SAM3X-EK evaluation kit.
Fully programmable through Set/Clear Registers
Multiplexing of four peripheral functions per I/O Line
For each I/O Line (whether assigned to a peripheral or used as general purpose I/O)
Input change, rising edge, falling edge, low level and level interrupt
Debouncing and Glitch filter
Multi-drive option enables driving in open drain
Programmable pull-up on each I/O line
Pin data status register, supplies visibility of the level on the pin at any time
Synchronous output, provides Set and Clear of several I/O lines in a single write
Table 31-1. PIO Lines per PIO according to Version
Version
100 pin
SAM3X/A
144 pin
SAM3X
217 pin
SAM3X8H
(1)
PIOA 30
32
PIOB 32
PIOC 1 31
PIOD - 10 31
PIOE - - 32
PIOF - - 6
Total 63 103 164