DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
103 of 313
NXP Semiconductors
UM10601
Chapter 9: LPC800 Switch matrix
9.4.2 Switch matrix register interface
The switch matrix consists of two blocks of pin-assignment registers PINASSIGN and
PINENABLE. Every function has an assigned field (1-bit or 8-bit wide) within this bank of
registers where you can program the external pin - identified by its GPIO function - you
want the function to connect to.
GPIOs range from PIO0_0 to PIO0_17 and, for assignment through the pin-assignment
registers, are numbered 0 to 17.
There are two types of functions which must be assigned to port pins in different ways:
U2_RXD
I
Receiver input for USART2.
PINASSIGN2
U2_RTS
O
Request To Send output for USART1.
PINASSIGN3
U2_CTS
I
Clear To Send input for USART1.
PINASSIGN3
U2_SCLK
I/O
Serial clock input/output for USART1 in synchronous
mode.
PINASSIGN3
SPI0_SCK
I/O
Serial clock for SPI0.
PINASSIGN3
SPI0_MOSI
I/O
Master Out Slave In for SPI0.
PINASSIGN4
SPI0_MISO
I/O
Master In Slave Out for SPI0.
PINASSIGN4
SPI0_SSEL
I/O
Slave select for SPI0.
PINASSIGN4
SPI1_SCK
I/O
Serial clock for SPI1.
PINASSIGN4
SPI1_MOSI
I/O
Master Out Slave In for SPI1.
PINASSIGN5
SPI1_MISO
I/O
Master In Slave Out for SPI1.
PINASSIGN5
SPI1_SSEL
I/O
Slave select for SPI1.
PINASSIGN5
CTIN_0
I
SCT input 0.
PINASSIGN5
CTIN_1
I
SCT input 1.
PINASSIGN6
CTIN_2
I
SCT input 2.
PINASSIGN6
CTIN_3
I
SCT input 3.
PINASSIGN6
CTOUT_0
O
SCT output 0.
PINASSIGN6
CTOUT_1
O
SCT output 1.
PINASSIGN7
CTOUT_2
O
SCT output 2.
PINASSIGN7
CTOUT_3
O
SCT output 3.
PINASSIGN7
I2C0_SDA
I/O
I
2
C-bus data input/output (open-drain if assigned to pin
PIO0_11). High-current sink only if assigned to pin
PIO0_11 and if I
2
C Fast-mode Plus is selected in the I/O
configuration register.
PINASSIGN7
I2C0_SCL
I/O
I
2
C-bus clock input/output (open-drain if assigned to pin
PIO0_10). High-current sink only if assigned to PIO0_10
and if I
2
C Fast-mode Plus is selected in the I/O
configuration register.
PINASSIGN8
ACMP_O
O
Analog comparator output.
PINASSIGN8
CLKOUT
O
Clock output.
PINASSIGN8
GPIO_INT_BMAT O
Output of the pattern match engine.
PINASSIGN8
Table 94.
Movable functions (assign to pins PIO0_0 to PIO_17 through switch matrix)
Function name
Type
Description
SWM Pin assign
register
Reference