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
94 of 464
NXP Semiconductors
UM10850
Chapter 7: LPC5410x I/O pin configuration (IOCON)
7.5.2 Type I IOCON registers (PIO0)
This IOCON table applies to pins P0[23 to 28]. See
for recommended setting for
I2C operation.
[1]
The input filter may be turned by setting FILTEROFF off if it is not needed.
Table 111. Address map PIO0_[23:28] registers
Peripheral
Base address
Offset
Increment
Dimension
IOCON
0x4001 C000
[0x05C:0x070]
0x4
6
Table 112. Type I IOCON registers (PIO0_[23:28], address offsets [0x05C:0x070]) bit description
Bit
Symbol
Value
Description
Reset
value
2:0
FUNC
Selects pin function.
0
4:3
-
Reserved. Read value is undefined, only zero should be written.
NA
5
I2CSLEW
Controls slew rate of I
2
C pad.
1
0
I
2
C mode.
1
GPIO mode.
6
INVERT
1
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
I2CDRIVE
Controls the current sink capability of the pin.
0
0
Low drive. Output drive sink is 4 mA. This is sufficient for standard and fast mode
I
2
C.
1
High drive. Output drive sink is 20 mA. This is needed for Fast Mode Plus I
2
C. Refer
to the appropriate specific device data sheet for details.
10
I2CFILTER
Configures I
2
C features for standard mode, fast mode, and Fast Mode Plus
operation.
0
0
Enabled. I
2
C 50 ns glitch filter enabled.
1
Disabled. I
2
C 50 ns glitch filter disabled.
31:11
-
Reserved. Read value is undefined, only zero should be written.
NA
Table 113. Suggested IOCON settings for I2C functions
IOCON register bit
Mode
10: I2CFILTER
9: I2CDRIVE
8: FILTEROFF
7: DIGIMODE
6: INVERT
5: I2CSLEW
GPIO 4 mA drive
0
0
0
1
0
1
GPIO 20 mA drive
0
1
0
1
0
1
Fast / Standard mode I
2
C
0
0
1
1
0
0
Fast Mode Plus I
2
C
1
1
1
1
0
0
High Speed slave I
2
C
1
1
1
1
0
0