GPIO Module Summary

Registers in the GPIO module
Module Instance Base Address
gpio0 0xFF708000
gpio1 0xFF709000
gpio2 0xFF70A000
Register

Address Offset

Bit Fields

gpio_swporta_dr

0x0

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

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

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

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

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

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

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

Reserved

gpio_intstatus

RW 0x0

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

gpio_intstatus

RW 0x0

gpio_raw_intstatus

0x44

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

Reserved

gpio_raw_intstatus

RW 0x0

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

gpio_raw_intstatus

RW 0x0

gpio_debounce

0x48

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

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

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

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

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

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

gpio_ver_id_code

RO 0x3230382A

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

gpio_ver_id_code

RO 0x3230382A

gpio_config_reg2

0x70

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 0x1C

gpio_config_reg1

0x74

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

Reserved

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

Reserved

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