GPIO — General purpose input/output

The general purpose input/output pins (GPIOs) are grouped as one or more ports, with each port having up to 32 GPIOs.

The number of ports and GPIOs per port varies with product variant and package. Refer to Registers and Pin assignments for more information about the number of GPIOs that are supported.

GPIO has the following user-configurable features:

The GPIO port peripheral implements up to 32 pins, PIN0 through PIN31. Each of these pins can be individually configured in the PIN_CNF[n] registers (n=0..31).

The following parameters can be configured through these registers:

The PIN_CNF registers are retained registers. See POWER — Power supply for more information about retained registers.

Pin configuration

Pins can be individually configured through the SENSE field in the PIN_CNF[n] register to detect either a high or low level input.

When the correct level is detected on a configured pin, the sense mechanism will set the DETECT signal high. Each pin has a separate DETECT signal. Default behavior, defined by the DETECTMODE register, combines all DETECT signals from the pins in the GPIO port into one common DETECT signal and routes it through the system to be utilized by other peripherals. This mechanism is functional in both System ON and System OFF mode. See GPIO port and the GPIO pin details.

The following figure illustrates the GPIO port containing 32 individual pins, where PIN0 is shown in more detail for reference. All signals on the left side of the illustration are used by other peripherals in the system and therefore not directly available to the CPU.

Figure 1. GPIO port and the GPIO pin details
GPIO port and the GPIO pin details

Pins should be in a level that cannot trigger the sense mechanism before being enabled. If the SENSE condition configured in the PIN_CNF registers is met when the sense mechanism is enabled, the DETECT signal will immediately go high. A PORT event is triggered if the DETECT signal was low before enabling the sense mechanism. See GPIOTE — GPIO tasks and events.

See the following peripherals for more information about how the DETECT signal is used:

When a pin's PINx.DETECT signal goes high, a flag is set in the LATCH register. For example, when the PIN0.DETECT signal goes high, bit 0 in the LATCH register is set to 1. If the CPU performs a clear operation on a bit in the LATCH register when the associated PINx.DETECT signal is high, the bit in the LATCH register will not be cleared. The LATCH register will only be cleared if the CPU explicitly clears it by writing a 1 to the bit that shall be cleared, i.e. the LATCH register will not be affected by a PINx.DETECT signal being set low.

The LDETECT signal will be set high when one or more bits in the LATCH register are 1. The LDETECT signal will be set low when all bits in the LATCH register are successfully cleared to 0.

If one or more bits in the LATCH register are 1 after the CPU has performed a clear operation on the LATCH register, a rising edge will be generated on the LDETECT signal. This is illustrated in DETECT signal behavior.

Note: The CPU can read the LATCH register at any time to check if a SENSE condition has been met on any of the GPIO pins. This is still valid if that condition is no longer met at the time the CPU queries the LATCH register. This mechanism will work even if the LDETECT signal is not used as the DETECT signal.

The LDETECT signal is by default not connected to the GPIO port's DETECT signal, but via the DETECTMODE register. It is possible to change from default behavior to the DETECT signal that is derived directly from the LDETECT signal. See GPIO port and the GPIO pin details. The following figure illustrates the DETECT signal behavior for these two alternatives.

Figure 2. DETECT signal behavior
DETECT signal behavior

A GPIO pin input buffer can be disconnected from the pin to enable power savings when the pin is not used as an input, see GPIO port and the GPIO pin details. Input buffers must be connected to get a valid input value in the IN register, and for the sense mechanism to get access to the pin.

Other peripherals in the system can connect to GPIO pins and override their output value and configuration, or read their analog or digital input value. See GPIO port and the GPIO pin details.

Selected pins also support analog input signals, see ANAIN in GPIO port and the GPIO pin details. The assignment of the analog pins can be found in Pin assignments.

Note: When a pin is configured as digital input, increased current consumption occurs when the input voltage is between VIL and VIH. It is good practice to ensure that the external circuitry does not drive that pin to levels between VIL and VIH for a long period of time.

Registers

Instances

InstanceBase addressDescription
GPIO0x50000000

General purpose input and output

This instance is deprecated.

P00x50000000General purpose input and output, port 0.

Configuration

InstanceConfiguration
GPIO
P0P0.00 - P0.08, P0.14 - P0.18, P0.20, and P0.28 - P0.30 implemented

Register overview

RegisterOffsetDescription
OUT0x504Write GPIO port
OUTSET0x508Set individual bits in GPIO port
OUTCLR0x50CClear individual bits in GPIO port
IN0x510Read GPIO port
DIR0x514Direction of GPIO pins
DIRSET0x518DIR set register
DIRCLR0x51CDIR clear register
LATCH0x520Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers
DETECTMODE0x524Select between default DETECT signal behavior and LDETECT mode
PIN_CNF[0]0x700Configuration of GPIO pins
PIN_CNF[1]0x704Configuration of GPIO pins
PIN_CNF[2]0x708Configuration of GPIO pins
PIN_CNF[3]0x70CConfiguration of GPIO pins
PIN_CNF[4]0x710Configuration of GPIO pins
PIN_CNF[5]0x714Configuration of GPIO pins
PIN_CNF[6]0x718Configuration of GPIO pins
PIN_CNF[7]0x71CConfiguration of GPIO pins
PIN_CNF[8]0x720Configuration of GPIO pins
PIN_CNF[9]0x724Configuration of GPIO pins
PIN_CNF[10]0x728Configuration of GPIO pins
PIN_CNF[11]0x72CConfiguration of GPIO pins
PIN_CNF[12]0x730Configuration of GPIO pins
PIN_CNF[13]0x734Configuration of GPIO pins
PIN_CNF[14]0x738Configuration of GPIO pins
PIN_CNF[15]0x73CConfiguration of GPIO pins
PIN_CNF[16]0x740Configuration of GPIO pins
PIN_CNF[17]0x744Configuration of GPIO pins
PIN_CNF[18]0x748Configuration of GPIO pins
PIN_CNF[19]0x74CConfiguration of GPIO pins
PIN_CNF[20]0x750Configuration of GPIO pins
PIN_CNF[21]0x754Configuration of GPIO pins
PIN_CNF[22]0x758Configuration of GPIO pins
PIN_CNF[23]0x75CConfiguration of GPIO pins
PIN_CNF[24]0x760Configuration of GPIO pins
PIN_CNF[25]0x764Configuration of GPIO pins
PIN_CNF[26]0x768Configuration of GPIO pins
PIN_CNF[27]0x76CConfiguration of GPIO pins
PIN_CNF[28]0x770Configuration of GPIO pins
PIN_CNF[29]0x774Configuration of GPIO pins
PIN_CNF[30]0x778Configuration of GPIO pins
PIN_CNF[31]0x77CConfiguration of GPIO pins

OUT

Address offset: 0x504

Write GPIO port

Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPIN0Pin 0
Low0Pin driver is low
High1Pin driver is high
BRWPIN1Pin 1
Low0Pin driver is low
High1Pin driver is high
CRWPIN2Pin 2
Low0Pin driver is low
High1Pin driver is high
DRWPIN3Pin 3
Low0Pin driver is low
High1Pin driver is high
ERWPIN4Pin 4
Low0Pin driver is low
High1Pin driver is high
FRWPIN5Pin 5
Low0Pin driver is low
High1Pin driver is high
GRWPIN6Pin 6
Low0Pin driver is low
High1Pin driver is high
HRWPIN7Pin 7
Low0Pin driver is low
High1Pin driver is high
IRWPIN8Pin 8
Low0Pin driver is low
High1Pin driver is high
JRWPIN9Pin 9
Low0Pin driver is low
High1Pin driver is high
KRWPIN10Pin 10
Low0Pin driver is low
High1Pin driver is high
LRWPIN11Pin 11
Low0Pin driver is low
High1Pin driver is high
MRWPIN12Pin 12
Low0Pin driver is low
High1Pin driver is high
NRWPIN13Pin 13
Low0Pin driver is low
High1Pin driver is high
ORWPIN14Pin 14
Low0Pin driver is low
High1Pin driver is high
PRWPIN15Pin 15
Low0Pin driver is low
High1Pin driver is high
QRWPIN16Pin 16
Low0Pin driver is low
High1Pin driver is high
RRWPIN17Pin 17
Low0Pin driver is low
High1Pin driver is high
SRWPIN18Pin 18
Low0Pin driver is low
High1Pin driver is high
TRWPIN19Pin 19
Low0Pin driver is low
High1Pin driver is high
URWPIN20Pin 20
Low0Pin driver is low
High1Pin driver is high
VRWPIN21Pin 21
Low0Pin driver is low
High1Pin driver is high
WRWPIN22Pin 22
Low0Pin driver is low
High1Pin driver is high
XRWPIN23Pin 23
Low0Pin driver is low
High1Pin driver is high
YRWPIN24Pin 24
Low0Pin driver is low
High1Pin driver is high
ZRWPIN25Pin 25
Low0Pin driver is low
High1Pin driver is high
aRWPIN26Pin 26
Low0Pin driver is low
High1Pin driver is high
bRWPIN27Pin 27
Low0Pin driver is low
High1Pin driver is high
cRWPIN28Pin 28
Low0Pin driver is low
High1Pin driver is high
dRWPIN29Pin 29
Low0Pin driver is low
High1Pin driver is high
eRWPIN30Pin 30
Low0Pin driver is low
High1Pin driver is high
fRWPIN31Pin 31
Low0Pin driver is low
High1Pin driver is high

OUTSET

Address offset: 0x508

Set individual bits in GPIO port

Note: Read: reads value of OUT register.
Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1S
PIN0Pin 0
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
BRW
W1S
PIN1Pin 1
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
CRW
W1S
PIN2Pin 2
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
DRW
W1S
PIN3Pin 3
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
ERW
W1S
PIN4Pin 4
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
FRW
W1S
PIN5Pin 5
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
GRW
W1S
PIN6Pin 6
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
HRW
W1S
PIN7Pin 7
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
IRW
W1S
PIN8Pin 8
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
JRW
W1S
PIN9Pin 9
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
KRW
W1S
PIN10Pin 10
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
LRW
W1S
PIN11Pin 11
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
MRW
W1S
PIN12Pin 12
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
NRW
W1S
PIN13Pin 13
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
ORW
W1S
PIN14Pin 14
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
PRW
W1S
PIN15Pin 15
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
QRW
W1S
PIN16Pin 16
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
RRW
W1S
PIN17Pin 17
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
SRW
W1S
PIN18Pin 18
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
TRW
W1S
PIN19Pin 19
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
URW
W1S
PIN20Pin 20
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
VRW
W1S
PIN21Pin 21
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
WRW
W1S
PIN22Pin 22
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
XRW
W1S
PIN23Pin 23
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
YRW
W1S
PIN24Pin 24
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
ZRW
W1S
PIN25Pin 25
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
aRW
W1S
PIN26Pin 26
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
bRW
W1S
PIN27Pin 27
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
cRW
W1S
PIN28Pin 28
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
dRW
W1S
PIN29Pin 29
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
eRW
W1S
PIN30Pin 30
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect
fRW
W1S
PIN31Pin 31
Low0Read: pin driver is low
High1Read: pin driver is high
Set1Write: a '1' sets the pin high; a '0' has no effect

OUTCLR

Address offset: 0x50C

Clear individual bits in GPIO port

Note: Read: reads value of OUT register.
Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
PIN0Pin 0
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
BRW
W1C
PIN1Pin 1
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
CRW
W1C
PIN2Pin 2
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
DRW
W1C
PIN3Pin 3
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
ERW
W1C
PIN4Pin 4
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
FRW
W1C
PIN5Pin 5
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
GRW
W1C
PIN6Pin 6
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
HRW
W1C
PIN7Pin 7
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
IRW
W1C
PIN8Pin 8
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
JRW
W1C
PIN9Pin 9
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
KRW
W1C
PIN10Pin 10
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
LRW
W1C
PIN11Pin 11
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
MRW
W1C
PIN12Pin 12
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
NRW
W1C
PIN13Pin 13
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
ORW
W1C
PIN14Pin 14
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
PRW
W1C
PIN15Pin 15
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
QRW
W1C
PIN16Pin 16
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
RRW
W1C
PIN17Pin 17
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
SRW
W1C
PIN18Pin 18
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
TRW
W1C
PIN19Pin 19
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
URW
W1C
PIN20Pin 20
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
VRW
W1C
PIN21Pin 21
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
WRW
W1C
PIN22Pin 22
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
XRW
W1C
PIN23Pin 23
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
YRW
W1C
PIN24Pin 24
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
ZRW
W1C
PIN25Pin 25
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
aRW
W1C
PIN26Pin 26
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
bRW
W1C
PIN27Pin 27
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
cRW
W1C
PIN28Pin 28
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
dRW
W1C
PIN29Pin 29
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
eRW
W1C
PIN30Pin 30
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect
fRW
W1C
PIN31Pin 31
Low0Read: pin driver is low
High1Read: pin driver is high
Clear1Write: a '1' sets the pin low; a '0' has no effect

IN

Address offset: 0x510

Read GPIO port

Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARPIN0Pin 0
Low0Pin input is low
High1Pin input is high
BRPIN1Pin 1
Low0Pin input is low
High1Pin input is high
CRPIN2Pin 2
Low0Pin input is low
High1Pin input is high
DRPIN3Pin 3
Low0Pin input is low
High1Pin input is high
ERPIN4Pin 4
Low0Pin input is low
High1Pin input is high
FRPIN5Pin 5
Low0Pin input is low
High1Pin input is high
GRPIN6Pin 6
Low0Pin input is low
High1Pin input is high
HRPIN7Pin 7
Low0Pin input is low
High1Pin input is high
IRPIN8Pin 8
Low0Pin input is low
High1Pin input is high
JRPIN9Pin 9
Low0Pin input is low
High1Pin input is high
KRPIN10Pin 10
Low0Pin input is low
High1Pin input is high
LRPIN11Pin 11
Low0Pin input is low
High1Pin input is high
MRPIN12Pin 12
Low0Pin input is low
High1Pin input is high
NRPIN13Pin 13
Low0Pin input is low
High1Pin input is high
ORPIN14Pin 14
Low0Pin input is low
High1Pin input is high
PRPIN15Pin 15
Low0Pin input is low
High1Pin input is high
QRPIN16Pin 16
Low0Pin input is low
High1Pin input is high
RRPIN17Pin 17
Low0Pin input is low
High1Pin input is high
SRPIN18Pin 18
Low0Pin input is low
High1Pin input is high
TRPIN19Pin 19
Low0Pin input is low
High1Pin input is high
URPIN20Pin 20
Low0Pin input is low
High1Pin input is high
VRPIN21Pin 21
Low0Pin input is low
High1Pin input is high
WRPIN22Pin 22
Low0Pin input is low
High1Pin input is high
XRPIN23Pin 23
Low0Pin input is low
High1Pin input is high
YRPIN24Pin 24
Low0Pin input is low
High1Pin input is high
ZRPIN25Pin 25
Low0Pin input is low
High1Pin input is high
aRPIN26Pin 26
Low0Pin input is low
High1Pin input is high
bRPIN27Pin 27
Low0Pin input is low
High1Pin input is high
cRPIN28Pin 28
Low0Pin input is low
High1Pin input is high
dRPIN29Pin 29
Low0Pin input is low
High1Pin input is high
eRPIN30Pin 30
Low0Pin input is low
High1Pin input is high
fRPIN31Pin 31
Low0Pin input is low
High1Pin input is high

DIR

Address offset: 0x514

Direction of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPIN0Pin 0
Input0Pin set as input
Output1Pin set as output
BRWPIN1Pin 1
Input0Pin set as input
Output1Pin set as output
CRWPIN2Pin 2
Input0Pin set as input
Output1Pin set as output
DRWPIN3Pin 3
Input0Pin set as input
Output1Pin set as output
ERWPIN4Pin 4
Input0Pin set as input
Output1Pin set as output
FRWPIN5Pin 5
Input0Pin set as input
Output1Pin set as output
GRWPIN6Pin 6
Input0Pin set as input
Output1Pin set as output
HRWPIN7Pin 7
Input0Pin set as input
Output1Pin set as output
IRWPIN8Pin 8
Input0Pin set as input
Output1Pin set as output
JRWPIN9Pin 9
Input0Pin set as input
Output1Pin set as output
KRWPIN10Pin 10
Input0Pin set as input
Output1Pin set as output
LRWPIN11Pin 11
Input0Pin set as input
Output1Pin set as output
MRWPIN12Pin 12
Input0Pin set as input
Output1Pin set as output
NRWPIN13Pin 13
Input0Pin set as input
Output1Pin set as output
ORWPIN14Pin 14
Input0Pin set as input
Output1Pin set as output
PRWPIN15Pin 15
Input0Pin set as input
Output1Pin set as output
QRWPIN16Pin 16
Input0Pin set as input
Output1Pin set as output
RRWPIN17Pin 17
Input0Pin set as input
Output1Pin set as output
SRWPIN18Pin 18
Input0Pin set as input
Output1Pin set as output
TRWPIN19Pin 19
Input0Pin set as input
Output1Pin set as output
URWPIN20Pin 20
Input0Pin set as input
Output1Pin set as output
VRWPIN21Pin 21
Input0Pin set as input
Output1Pin set as output
WRWPIN22Pin 22
Input0Pin set as input
Output1Pin set as output
XRWPIN23Pin 23
Input0Pin set as input
Output1Pin set as output
YRWPIN24Pin 24
Input0Pin set as input
Output1Pin set as output
ZRWPIN25Pin 25
Input0Pin set as input
Output1Pin set as output
aRWPIN26Pin 26
Input0Pin set as input
Output1Pin set as output
bRWPIN27Pin 27
Input0Pin set as input
Output1Pin set as output
cRWPIN28Pin 28
Input0Pin set as input
Output1Pin set as output
dRWPIN29Pin 29
Input0Pin set as input
Output1Pin set as output
eRWPIN30Pin 30
Input0Pin set as input
Output1Pin set as output
fRWPIN31Pin 31
Input0Pin set as input
Output1Pin set as output

DIRSET

Address offset: 0x518

DIR set register

Note: Read: reads value of DIR register.
Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1S
PIN0Set as output pin 0
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
BRW
W1S
PIN1Set as output pin 1
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
CRW
W1S
PIN2Set as output pin 2
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
DRW
W1S
PIN3Set as output pin 3
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
ERW
W1S
PIN4Set as output pin 4
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
FRW
W1S
PIN5Set as output pin 5
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
GRW
W1S
PIN6Set as output pin 6
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
HRW
W1S
PIN7Set as output pin 7
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
IRW
W1S
PIN8Set as output pin 8
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
JRW
W1S
PIN9Set as output pin 9
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
KRW
W1S
PIN10Set as output pin 10
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
LRW
W1S
PIN11Set as output pin 11
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
MRW
W1S
PIN12Set as output pin 12
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
NRW
W1S
PIN13Set as output pin 13
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
ORW
W1S
PIN14Set as output pin 14
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
PRW
W1S
PIN15Set as output pin 15
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
QRW
W1S
PIN16Set as output pin 16
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
RRW
W1S
PIN17Set as output pin 17
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
SRW
W1S
PIN18Set as output pin 18
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
TRW
W1S
PIN19Set as output pin 19
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
URW
W1S
PIN20Set as output pin 20
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
VRW
W1S
PIN21Set as output pin 21
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
WRW
W1S
PIN22Set as output pin 22
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
XRW
W1S
PIN23Set as output pin 23
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
YRW
W1S
PIN24Set as output pin 24
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
ZRW
W1S
PIN25Set as output pin 25
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
aRW
W1S
PIN26Set as output pin 26
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
bRW
W1S
PIN27Set as output pin 27
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
cRW
W1S
PIN28Set as output pin 28
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
dRW
W1S
PIN29Set as output pin 29
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
eRW
W1S
PIN30Set as output pin 30
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect
fRW
W1S
PIN31Set as output pin 31
Input0Read: pin set as input
Output1Read: pin set as output
Set1Write: a '1' sets pin to output; a '0' has no effect

DIRCLR

Address offset: 0x51C

DIR clear register

Note: Read: reads value of DIR register.
Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
PIN0Set as input pin 0
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
BRW
W1C
PIN1Set as input pin 1
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
CRW
W1C
PIN2Set as input pin 2
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
DRW
W1C
PIN3Set as input pin 3
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
ERW
W1C
PIN4Set as input pin 4
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
FRW
W1C
PIN5Set as input pin 5
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
GRW
W1C
PIN6Set as input pin 6
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
HRW
W1C
PIN7Set as input pin 7
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
IRW
W1C
PIN8Set as input pin 8
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
JRW
W1C
PIN9Set as input pin 9
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
KRW
W1C
PIN10Set as input pin 10
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
LRW
W1C
PIN11Set as input pin 11
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
MRW
W1C
PIN12Set as input pin 12
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
NRW
W1C
PIN13Set as input pin 13
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
ORW
W1C
PIN14Set as input pin 14
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
PRW
W1C
PIN15Set as input pin 15
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
QRW
W1C
PIN16Set as input pin 16
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
RRW
W1C
PIN17Set as input pin 17
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
SRW
W1C
PIN18Set as input pin 18
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
TRW
W1C
PIN19Set as input pin 19
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
URW
W1C
PIN20Set as input pin 20
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
VRW
W1C
PIN21Set as input pin 21
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
WRW
W1C
PIN22Set as input pin 22
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
XRW
W1C
PIN23Set as input pin 23
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
YRW
W1C
PIN24Set as input pin 24
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
ZRW
W1C
PIN25Set as input pin 25
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
aRW
W1C
PIN26Set as input pin 26
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
bRW
W1C
PIN27Set as input pin 27
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
cRW
W1C
PIN28Set as input pin 28
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
dRW
W1C
PIN29Set as input pin 29
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
eRW
W1C
PIN30Set as input pin 30
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect
fRW
W1C
PIN31Set as input pin 31
Input0Read: pin set as input
Output1Read: pin set as output
Clear1Write: a '1' sets pin to input; a '0' has no effect

LATCH

Address offset: 0x520

Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers

Bit number313029282726252423222120191817161514131211109876543210
IDfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPIN0Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
BRWPIN1Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
CRWPIN2Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
DRWPIN3Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
ERWPIN4Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
FRWPIN5Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
GRWPIN6Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
HRWPIN7Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
IRWPIN8Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
JRWPIN9Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
KRWPIN10Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
LRWPIN11Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
MRWPIN12Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
NRWPIN13Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
ORWPIN14Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
PRWPIN15Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
QRWPIN16Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
RRWPIN17Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
SRWPIN18Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
TRWPIN19Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
URWPIN20Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
VRWPIN21Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
WRWPIN22Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
XRWPIN23Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
YRWPIN24Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
ZRWPIN25Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
aRWPIN26Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
bRWPIN27Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
cRWPIN28Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
dRWPIN29Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
eRWPIN30Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met
fRWPIN31Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write '1' to clear.
NotLatched0Criteria has not been met
Latched1Criteria has been met

DETECTMODE

Address offset: 0x524

Select between default DETECT signal behavior and LDETECT mode

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWDETECTMODESelect between default DETECT signal behavior and LDETECT mode
Default0DETECT directly connected to PIN DETECT signals
LDETECT1Use the latched LDETECT behavior

PIN_CNF[0]

Address offset: 0x700

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[1]

Address offset: 0x704

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[2]

Address offset: 0x708

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[3]

Address offset: 0x70C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[4]

Address offset: 0x710

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[5]

Address offset: 0x714

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[6]

Address offset: 0x718

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[7]

Address offset: 0x71C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[8]

Address offset: 0x720

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[9]

Address offset: 0x724

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[10]

Address offset: 0x728

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[11]

Address offset: 0x72C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[12]

Address offset: 0x730

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[13]

Address offset: 0x734

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[14]

Address offset: 0x738

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[15]

Address offset: 0x73C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[16]

Address offset: 0x740

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[17]

Address offset: 0x744

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[18]

Address offset: 0x748

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[19]

Address offset: 0x74C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[20]

Address offset: 0x750

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[21]

Address offset: 0x754

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[22]

Address offset: 0x758

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[23]

Address offset: 0x75C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[24]

Address offset: 0x760

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[25]

Address offset: 0x764

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[26]

Address offset: 0x768

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[27]

Address offset: 0x76C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[28]

Address offset: 0x770

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[29]

Address offset: 0x774

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[30]

Address offset: 0x778

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

PIN_CNF[31]

Address offset: 0x77C

Configuration of GPIO pins

Bit number313029282726252423222120191817161514131211109876543210
IDEEDDDCCBA
Reset 0x0000000200000000000000000000000000000010
IDR/WFieldValue IDValueDescription
ARWDIRPin direction. Same physical register as DIR register
Input0Configure pin as an input pin
Output1Configure pin as an output pin
BRWINPUTConnect or disconnect input buffer
Connect0Connect input buffer
Disconnect1Disconnect input buffer
CRWPULLPull configuration
Disabled0No pull
Pulldown1Pull down on pin
Pullup3Pull up on pin
DRWDRIVEDrive configuration
S0S10Standard '0', standard '1'
H0S11High drive '0', standard '1'
S0H12Standard '0', high drive '1'
H0H13High drive '0', high 'drive '1''
D0S14Disconnect '0' standard '1' (normally used for wired-or connections)
D0H15Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D16Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D17High drive '0', disconnect '1' (normally used for wired-and connections)
ERWSENSEPin sensing mechanism
Disabled0Disabled
High2Sense for high level
Low3Sense for low level

Electrical specification

GPIO Electrical Specification

SymbolDescriptionMin.Typ.Max.Units
VIHInput high voltage0.7 x VDDVDDV
VILInput low voltageVSS0.3 x VDDV
VOH,SDOutput high voltage, standard drive, 0.5 mA, VDD ≥ 1.7VDD - 0.4VDDV
VOH,HDHOutput high voltage, high drive, 5 mA, VDD ≥ 2.7 VVDD - 0.4VDDV
VOH,HDLOutput high voltage, high drive, 3 mA, VDD ≥ 1.7 VVDD - 0.4VDDV
VOL,SDOutput low voltage, standard drive, 0.5 mA, VDD ≥ 1.7VSSVSS + 0.4V
VOL,HDHOutput low voltage, high drive, 5 mA, VDD ≥ 2.7 VVSSVSS + 0.4V
VOL,HDLOutput low voltage, high drive, 3 mA, VDD ≥ 1.7 VVSSVSS + 0.4V
IOL,SDCurrent at VSS+0.4 V, output set low, standard drive, VDD ≥ 1.7124mA
IOL,HDHCurrent at VSS+0.4 V, output set low, high drive, VDD ≥ 2.7 V61015mA
IOL,HDLCurrent at VSS+0.4 V, output set low, high drive, VDD ≥ 1.7 V3mA
IOH,SDCurrent at VDD-0.4 V, output set high, standard drive, VDD ≥ 1.7124mA
IOH,HDHCurrent at VDD-0.4 V, output set high, high drive, VDD ≥ 2.7 V6914mA
IOH,HDLCurrent at VDD-0.4 V, output set high, high drive, VDD ≥ 1.7 V3mA
tRF,15pFRise/fall time, standard drive mode, 10-90%, 15 pF load19ns
tRF,25pFRise/fall time, standard drive mode, 10-90%, 25 pF load113ns
tRF,50pFRise/fall time, standard drive mode, 10-90%, 50 pF load125ns
tHRF,15pFRise/Fall time, high drive mode, 10-90%, 15 pF load14ns
tHRF,25pFRise/Fall time, high drive mode, 10-90%, 25 pF load15ns
tHRF,50pFRise/Fall time, high drive mode, 10-90%, 50 pF load18ns
RPUPull-up resistance111316kΩ
RPDPull-down resistance111316kΩ
CPADPad capacitance3pF
1 Rise and fall times based on simulations