RM0082
BS_General purpose input/output (GPIO)
Doc ID 018672 Rev 1
329/844
Note:
The same data register appears at 64 locations in Memory Map (with offset ranging from
0x00 to 0xFC), allowing to use the address bus [9:2] as an additional bit masking feature.
●
Interrupt Control Registers (
), for interrupt generation
configuration.
●
Identification Registers
(listed in
), containing peripheral & BIOS
information
Table 264.
GPIO data direction register
Name
Offset
Type
Width(bit)
Reset Value
Description
GPIODIR
0x400
RW
6
6’h0
Data Direction
Table 265.
GPIO data register
Name
Offset
Type
Width(bit)
Reset Value
Description
GPIODATA
0x000
(1)
1.
For the first data register, but up to 0xFC for the 64th (See Note above).
RW
8
8’h0
Data
Table 266.
GPIO interrupt control registers summary
Name
Offset
Type
Width(bit)
Reset Value
Description
GPIOIS
0x404
RW
6
6’h0
Interrupt Sense.
GPIOIBE
0x408
RW
6
6’h0
Interrupt Both Edges.
GPIOIEV
0x40C
RW
6
6’h0
Interrupt Event.
GPIOIE
0x410
RW
6
6’h0
Interrupt Mask.
GPIORIS
0x414
RO
6
6’h0
Raw/Interrupt Status
GPIOMIS
0x418
RO
6
6’h0
Masked Interrupt Status
GPIOIC
0x41C
WO
6
6’h0
Interrupt Clear.
Table 267.
GPIO identification registers summary
Name
Offset
Type
Width
(bit)
Resetva
lue
Description
GPIOPeriphID0
0xFE0
RO
8
8’h61
Peripheral identification register (bits 7:0).
GPIOPeriphID1
0xFE4
RO
8
8’h10
Peripheral identification register (bits 15:8).
GPIOPeriphID2
0xFE8
RO
8
8’h04
Peripheral identification register (bits
23:16).
GPIOPeriphID3
0xFEC
RO
8
8’h00
Peripheral identification register (bits
31:24).
GPIOPCellID0
0xFF0
RO
8
8’h0D
ID Register bits (7:0)
GPIOCellID1
0xFF4
RO
8
8’hF0
ID Register bits (15:8)
GPIOCellID2
0xFF8
RO
8
8’h05
ID Register bits (23:16)
GPIOCellID3
0xFFC
RO
8
8’hB1
ID Register bits (31:24)