gpio Summary

Module Instance Base Address
i_gpio_0_gpio 0xFFC02900
i_gpio_1_gpio 0xFFC02A00
i_gpio_2_gpio 0xFFC02B00
Register

Address Offset

Bit Fields
i_gpio_0_gpio

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

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

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

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

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

gpio_ver_id_code

RO 0x3230392A

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

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

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_gpio

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

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

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

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

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

gpio_ver_id_code

RO 0x3230392A

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

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

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_2_gpio

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

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

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

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

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

gpio_ver_id_code

RO 0x3230392A

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

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

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