GPIO Module Address Map
Registers in the GPIO module
Module Instance | Base Address |
---|---|
gpio0 | 0xFF708000 |
gpio1 | 0xFF709000 |
gpio2 | 0xFF70A000 |
GPIO Module
Register | Offset | Width | Access | Reset Value | Description |
---|---|---|---|---|---|
gpio_swporta_dr | 0x0 | 32 | RW | 0x0 | Port A Data Register |
gpio_swporta_ddr | 0x4 | 32 | RW | 0x0 | Port A Data Direction Register |
gpio_inten | 0x30 | 32 | RW | 0x0 | Interrupt Enable Register |
gpio_intmask | 0x34 | 32 | RW | 0x0 | Interrupt Mask Register |
gpio_inttype_level | 0x38 | 32 | RW | 0x0 | Interrupt Level Register |
gpio_int_polarity | 0x3C | 32 | RW | 0x0 | Interrupt Polarity Register |
gpio_intstatus | 0x40 | 32 | RO | 0x0 | Interrupt Status Register |
gpio_raw_intstatus | 0x44 | 32 | RO | 0x0 | Raw Interrupt Status Register |
gpio_debounce | 0x48 | 32 | RW | 0x0 | Debounce Enable Register |
gpio_porta_eoi | 0x4C | 32 | WO | 0x0 | Clear Interrupt Register |
gpio_ext_porta | 0x50 | 32 | RO | 0x0 | External Port A Register |
gpio_ls_sync | 0x60 | 32 | RW | 0x0 | Synchronization Level Register |
gpio_id_code | 0x64 | 32 | RO | 0x0 | ID Code Register |
gpio_ver_id_code | 0x6C | 32 | RO | 0x3230382A | GPIO Version Register |
gpio_config_reg2 | 0x70 | 32 | RO | 0x39CFC | Configuration Register 2 |
gpio_config_reg1 | 0x74 | 32 | RO | 0x1FF0F2 | Configuration Register 1 |