
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
75 of 487
7.1 How to read this chapter
The switch matrix is identical for all LPC82x parts.
7.2 Features
•
Flexible assignment of digital peripheral functions to pins
•
Enable/disable of analog functions
7.3 Basic configuration
Once configured, no clocks are needed for the switch matrix to function. The system clock
is needed only to write to or read from the pin assignment registers. After the switch matrix
is configured, disable the clock to the switch matrix block in the SYSAHBCLKCTRL
register.
Before activating a peripheral or enabling its interrupt, use the switch matrix to connect the
peripheral to external pins.
The serial wire debug pins SWDIO and SWCLK are enabled by default on pins PIO0_2
and PIO0_3.
Remark:
For the purpose of programming the pin functions through the switch matrix,
every pin except the power and ground pins is identified in a package-independent way by
its GPIO port pin number.
Remark:
The switch matrix is reset by a system reset from the RESET pin as well as all
other resets.
UM10800
Chapter 7: LPC82x Switch matrix (SWM)
Rev. 1.2 — 5 October 2016
User manual