Datasheet
539
42023E–SAM–07/2013
ATSAM4L8/L4/L2
23. General-Purpose Input/Output Controller (GPIO)
Rev: 2.1.5.5
23.1 Features
• Configurable pin-change, rising-edge, or falling-edge interrupt
• Configurable peripheral event generator
• Glitch filter providing rejection of pulses shorter than one clock cycle
• Input visibility and output control
• Multiplexing of peripheral functions on I/O pins
• Programmable internal pull-up resistor
• Programmable internal pull-down resistor
• Programmable output driver strength
• Programmable internal input Schmitt trigger
• Programmable output slew rate
•
23.2 Overview
The General Purpose Input/Output Controller (GPIO) controls the I/O pins of the microcontroller.
Each GPIO pin may be used as a general-purpose I/O or be assigned to a function of an embed-
ded peripheral.
The GPIO is configured using the Peripheral Bus (PB).
23.3 Block Diagram
Figure 23-1. GPIO Block Diagram
Interrupt
Controller
Power Manager
Embedded
Peripheral
General Purpose
Input/Output - GPIO
GPIO Interrupt
Request
CLK_GPIO
Pin Control
Signals
PIN
PIN
PIN
PIN
PIN
MCU
I/O
Pins
Configuration
Interface