
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
92 of 464
NXP Semiconductors
UM10850
Chapter 7: LPC5410x I/O pin configuration (IOCON)
7.5.1 Type D IOCON registers (PIO0)
This IOCON table applies to port pins P0[0 to 2] and P0[4 to 22]. Other pins include ADC
or I
2
C functions that alter the contents of the related IOCON registers.
Remark:
The FUNC field for P0[16] and P0[17] resets to 0b101 (0x5), selecting the Serial
Wire Debug function by default.
Table 108. Address map PIO0_[0:22] registers
Peripheral
Base address
Offset
Increment
Dimension
IOCON
0x4001 C000
[0x000:0x058]
0x4
23
Table 109. Type D IOCON registers (PIO0_[0:22], address offsets [0x000:0x058]) bit description
Bit
Symbol
Value
Description
Reset value
2:0
FUNC
Selects pin function.
PIO0_16/17: 5
others: 0
4:3
MODE
Selects function mode (on-chip pull-up/pull-down resistor control).
10
0x0
Inactive. Inactive (no pull-down/pull-up resistor enabled).
0x1
Pull-down. Pull-down resistor enabled.
0x2
Pull-up. Pull-up resistor enabled.
0x3
Repeater. Repeater mode.
5
-
Reserved. Read value is undefined, only zero should be written.
NA
6
INVERT
Input polarity.
0
0
Disabled. Input function is not inverted.
1
Enabled. Input is function inverted.
7
DIGIMODE
Select Analog/Digital mode.
1
0
Analog mode.
1
Digital mode.
8
FILTEROFF
Controls input glitch filter.
1
0
Filter enabled. Noise pulses below approximately 10 ns are filtered out.
1
Filter disabled. No input filtering is done
9
SLEW
Driver slew rate.
0
0
Standard mode, output slew rate control is enabled. More outputs can be
switched simultaneously.
1
Fast mode, slew rate control is disabled. Refer to the appropriate
specific device data sheet for details.
10
OD
Controls open-drain mode.
0
0
Normal. Normal push-pull output
1
Open-drain. Simulated open-drain output (high drive disabled)
31:11
-
Reserved. Read value is undefined, only zero should be written.
NA