GPIO Summary

DW_apb_gpio address block
Module Instance Base Address
i_gpio_0_DW_apb_gpio_addr_block 0xFFC03200
i_gpio_1_DW_apb_gpio_addr_block 0xFFC03300
Register

Address Offset

Bit Fields
i_gpio_0_DW_apb_gpio_addr_block

GPIO_SWPORTA_DR

0x0

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_SWPORTA_DR

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_SWPORTA_DR

RW 0x0

GPIO_SWPORTA_DDR

0x4

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_SWPORTA_DDR

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_SWPORTA_DDR

RW 0x0

GPIO_INTEN

0x30

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTEN

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTEN

RW 0x0

GPIO_INTMASK

0x34

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTMASK

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTMASK

RW 0x0

GPIO_INTTYPE_LEVEL

0x38

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTTYPE_LEVEL

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTTYPE_LEVEL

RW 0x0

GPIO_INT_POLARITY

0x3C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INT_POLARITY

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INT_POLARITY

RW 0x0

GPIO_INTSTATUS

0x40

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTSTATUS

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTSTATUS

RO 0x0

GPIO_RAW_INTSTATUS

0x44

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_RAW_INTSTATUS

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_RAW_INTSTATUS

RO 0x0

GPIO_DEBOUNCE

0x48

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_DEBOUNCE

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_DEBOUNCE

RW 0x0

GPIO_PORTA_EOI

0x4C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_PORTA_EOI

WO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_PORTA_EOI

WO 0x0

GPIO_EXT_PORTA

0x50

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_EXT_PORTA

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_EXT_PORTA

RO 0x0

GPIO_LS_SYNC

0x60

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved

GPIO_LS_SYNC

RW 0x0

GPIO_ID_CODE

0x64

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

GPIO_ID_CODE

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_ID_CODE

RO 0x0

GPIO_VER_ID_CODE

0x6C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

GPIO_VER_ID_CODE

RO 0x3231302A

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_VER_ID_CODE

RO 0x3231302A

GPIO_CONFIG_REG2

0x70

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

ENCODED_ID_PWIDTH_D

RO 0x7

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ENCODED_ID_PWIDTH_D

RO 0x7

ENCODED_ID_PWIDTH_C

RO 0x7

ENCODED_ID_PWIDTH_B

RO 0x7

ENCODED_ID_PWIDTH_A

RO 0x17

GPIO_CONFIG_REG1

0x74

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

INTERRUPT_BOTH_EDGE_TYPE

RO 0x0

ENCODED_ID_WIDTH

RO 0x1F

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_ID

RO 0x1

ADD_ENCODED_PARAMS

RO 0x1

DEBOUNCE

RO 0x1

PORTA_INTR

RO 0x1

HW_PORTD

RO 0x0

HW_PORTC

RO 0x0

HW_PORTB

RO 0x0

HW_PORTA

RO 0x0

PORTD_SINGLE_CTL

RO 0x1

PORTC_SINGLE_CTL

RO 0x1

PORTB_SINGLE_CTL

RO 0x1

PORTA_SINGLE_CTL

RO 0x1

NUM_PORTS

RO 0x0

APB_DATA_WIDTH

RO 0x2

i_gpio_1_DW_apb_gpio_addr_block

GPIO_SWPORTA_DR

0x0

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_SWPORTA_DR

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_SWPORTA_DR

RW 0x0

GPIO_SWPORTA_DDR

0x4

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_SWPORTA_DDR

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_SWPORTA_DDR

RW 0x0

GPIO_INTEN

0x30

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTEN

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTEN

RW 0x0

GPIO_INTMASK

0x34

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTMASK

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTMASK

RW 0x0

GPIO_INTTYPE_LEVEL

0x38

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTTYPE_LEVEL

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTTYPE_LEVEL

RW 0x0

GPIO_INT_POLARITY

0x3C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INT_POLARITY

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INT_POLARITY

RW 0x0

GPIO_INTSTATUS

0x40

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_INTSTATUS

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_INTSTATUS

RO 0x0

GPIO_RAW_INTSTATUS

0x44

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_RAW_INTSTATUS

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_RAW_INTSTATUS

RO 0x0

GPIO_DEBOUNCE

0x48

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_DEBOUNCE

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_DEBOUNCE

RW 0x0

GPIO_PORTA_EOI

0x4C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_PORTA_EOI

WO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_PORTA_EOI

WO 0x0

GPIO_EXT_PORTA

0x50

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

GPIO_EXT_PORTA

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_EXT_PORTA

RO 0x0

GPIO_LS_SYNC

0x60

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved

GPIO_LS_SYNC

RW 0x0

GPIO_ID_CODE

0x64

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

GPIO_ID_CODE

RO 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_ID_CODE

RO 0x0

GPIO_VER_ID_CODE

0x6C

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

GPIO_VER_ID_CODE

RO 0x3231302A

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_VER_ID_CODE

RO 0x3231302A

GPIO_CONFIG_REG2

0x70

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

ENCODED_ID_PWIDTH_D

RO 0x7

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ENCODED_ID_PWIDTH_D

RO 0x7

ENCODED_ID_PWIDTH_C

RO 0x7

ENCODED_ID_PWIDTH_B

RO 0x7

ENCODED_ID_PWIDTH_A

RO 0x17

GPIO_CONFIG_REG1

0x74

32-bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

INTERRUPT_BOTH_EDGE_TYPE

RO 0x0

ENCODED_ID_WIDTH

RO 0x1F

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO_ID

RO 0x1

ADD_ENCODED_PARAMS

RO 0x1

DEBOUNCE

RO 0x1

PORTA_INTR

RO 0x1

HW_PORTD

RO 0x0

HW_PORTC

RO 0x0

HW_PORTB

RO 0x0

HW_PORTA

RO 0x0

PORTD_SINGLE_CTL

RO 0x1

PORTC_SINGLE_CTL

RO 0x1

PORTB_SINGLE_CTL

RO 0x1

PORTA_SINGLE_CTL

RO 0x1

NUM_PORTS

RO 0x0

APB_DATA_WIDTH

RO 0x2