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
104 of 313
NXP Semiconductors
UM10601
Chapter 9: LPC800 Switch matrix
1.
Movable functions
(PINASSIGN0 to 8):
All movable functions are digital functions. Assign movable functions to pin numbers
through the 8 bits of the PINASSIGN register associated with this function. Once the
function is assigned a pin PIO0_n, it is connected through this pin to a physical pin on
the package.
Remark:
You can assign only one digital output function to an external pin at any
given time.
Remark:
You can assign more than one digital input function to one external pin.
2.
Fixed-pin functions
(PINENABLE0):
Some functions require pins with special characteristics and cannot be moved to
other physical pins. Hence these functions are mapped to a fixed port pin. Examples
of fixed-pin functions are the oscillator pins or comparator inputs.
Each fixed-pin function is associated with one bit in the PINENABLE0 register which
selects or deselects the function.
–
If a fixed-pin function is deselected, any movable function can be assigned to its
port and pin.
–
If a fixed-pin function is deselected and no movable function is assigned to this pin,
the pin is GPIO.
–
On reset, all fixed-pin functions are deselected.
–
If a fixed-pin function is selected, its assigned pin can not be used for any other
function.
9.5 Register description
Table 95.
Register overview: Switch matrix (base address 0x4000 C000)
Name
Access
Offset
Description
Reset value
Reference
PINASSIGN0
R/W
0x000
Pin assign register 0. Assign movable
functions U0_TXD, U0_RXD, U0_RTS,
U0_CTS
0xFFFF FFFF
PINASSIGN1
R/W
0x004
Pin assign register 1. Assign movable
functions U0_SCLC, U1_TXD, U1_RXD
0xFFFF FFFF
PINASSIGN2
R/W
0x008
Pin assign register 2. Assign movable
functions U2_TXD, U2_RXD
0xFFFF FFFF
PINASSIGN3
R/W
0x00C
Pin assignregister 3. Assign movable
function SPI0_SCK
0xFFFF FFFF
PINASSIGN4
R/W
0x010
Pin assign register 4. Assign movable
functions SPI0_MOSI, SPI0_MISO,
SPI0_SSEL, SPI1_SCK
0xFFFF FFFF
PINASSIGN5
R/W
0x014
Pin assign register 5. Assign movable
functions SPI1_MOSI, SPI1_MISO,
SPI1_SSEL, CTIN_0
0xFFFF FFFF
PINASSIGN6
R/W 0x018
Pin
assign
register 6. Assign movable
functions CTIN_1, CTIN_2, CTIN_3,
CTOUT_0
0xFFFF FFFF