Table 32-3. GPIO interface-detailed signal descriptions
Signal
I/O
Description
clock. For input, it may occur
at any time and input may be
asserted asynchronously to
the system clock.
32.2 Memory map and register definition
Any read or write access to the GPIO memory space that is outside the valid memory
map results in a bus error.
GPIO memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
400F_F000 Port Data Output Register (GPIOA_PDOR)
32
R/W
0000_0000h
400F_F004 Port Set Output Register (GPIOA_PSOR)
32
W
(always
reads 0)
0000_0000h
400F_F008 Port Clear Output Register (GPIOA_PCOR)
32
W
(always
reads 0)
0000_0000h
400F_F00C Port Toggle Output Register (GPIOA_PTOR)
32
W
(always
reads 0)
0000_0000h
400F_F010 Port Data Input Register (GPIOA_PDIR)
32
R
0000_0000h
400F_F014 Port Data Direction Register (GPIOA_PDDR)
32
R/W
0000_0000h
400F_F040 Port Data Output Register (GPIOB_PDOR)
32
R/W
0000_0000h
400F_F044 Port Set Output Register (GPIOB_PSOR)
32
W
(always
reads 0)
0000_0000h
400F_F048 Port Clear Output Register (GPIOB_PCOR)
32
W
(always
reads 0)
0000_0000h
400F_F04C Port Toggle Output Register (GPIOB_PTOR)
32
W
(always
reads 0)
0000_0000h
400F_F050 Port Data Input Register (GPIOB_PDIR)
32
R
0000_0000h
400F_F054 Port Data Direction Register (GPIOB_PDDR)
32
R/W
0000_0000h
Chapter 32 General-Purpose Input/Output (GPIO)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
523