© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
89
Philips Semiconductors
UM10139
Volume 1
Chapter 8: GPIO
Legacy registers are the IO0SET and IO1SET, while the enhanced GPIOs are supported
via the FIO0SET and FIO1SET registers. Access to a port pins via the FIOSET register is
conditioned by the corresponding FIOMASK register (see
Mask register (FIOMASK, Port 0: FIO0MASK - 0x3FFF C010 and Port 1:FIO1MASK -
0x3FFF C030)”
Aside from the 32-bit long and word only accessible FIOSET register, every fast GPIO
port can also be controlled via several byte and half-word accessible registers listed in
and
, too. Next to providing the same functions as the FIOSET register,
these additional registers allow easier and faster access to the physical port pins.
Table 83:
GPIO port 0 output Set register (IO0SET - address 0xE002 8004 bit description
Bit
Symbol
Description
Reset value
31:0
P0xSET
Slow GPIO output value Set bits. Bit 0 in IO0SET corresponds to P0.0 ... Bit 31
in IO0SET corresponds to P0.31.
0x0000 0000
Table 84:
GPIO port 1 output Set register (IO1SET - address 0xE002 8014) bit description
Bit
Symbol
Description
Reset value
31:0
P1xSET
Slow GPIO output value Set bits. Bit 0 in IO1SET corresponds to P1.0 ... Bit 31
in IO1SET corresponds to P1.31.
0x0000 0000
Table 85:
Fast GPIO port 0 output Set register (FIO0SET - address 0x3FFF C018) bit description
Bit
Symbol
Description
Reset value
31:0
FP0xSET
Fast GPIO output value Set bits. Bit 0 in FIO0SET corresponds to P0.0 ... Bit 31
in FIO0SET corresponds to P0.31.
0x0000 0000
Table 86:
Fast GPIO port 1 output Set register (FIO1SET - address 0x3FFF C038) bit description
Bit
Symbol
Description
Reset value
31:0
FP1xSET
Fast GPIO output value Set bits. Bit 0 Fin IO1SET corresponds to P1.0 ... Bit 31
in FIO1SET corresponds to P1.31.
0x0000 0000
Table 87:
Fast GPIO port 0 output Set byte and half-word accessible register description
Register
name
Register
length (bits)
& access
Address
Description
Reset
value
FIO0SET0
8 (byte)
0x3FFF C018
Fast GPIO Port 0 output Set register 0. Bit 0 in FIO0SET0 register
corresponds to P0.0 ... bit 7 to P0.7.
0x00
FIO0SET1
8 (byte)
0x3FFF C019
Fast GPIO Port 0 output Set register 1. Bit 0 in FIO0SET1 register
corresponds to P0.8 ... bit 7 to P0.15.
0x00
FIO0SET2
8 (byte)
0x3FFF C01A
Fast GPIO Port 0 output Set register 2. Bit 0 in FIO0SET2 register
corresponds to P0.16 ... bit 7 to P0.23.
0x00
FIO0SET3
8 (byte)
0x3FFF C01B
Fast GPIO Port 0 output Set register 3. Bit 0 in FIO0SET3 register
corresponds to P0.24 ... bit 7 to P0.31.
0x00
FIO0SETL
16
(half-word)
0x3FFF C018
Fast GPIO Port 0 output Set Lower half-word register. Bit 0 in
FIO0SETL register corresponds to P0.0 ... bit 15 to P0.15.
0x0000
FIO0SETU
16
(half-word)
0x3FFF C01A
Fast GPIO Port 0 output Set Upper half-word register. Bit 0 in
FIO0SETU register corresponds to P0.16 ... bit 15 to P0.31.
0x0000