Datasheet

Table Of Contents
GPIO0_CTRL, GPIO1_CTRL, …, GPIO28_CTRL, GPIO29_CTRL Registers
Description
GPIO control including function select and overrides.
Table 280.
GPIO0_CTRL,
GPIO1_CTRL, …,
GPIO28_CTRL,
GPIO29_CTRL
Registers
Bits Name Description Type Reset
31:30 Reserved. - - -
29:28 IRQOVER 0x0 -> don’t invert the interrupt
0x1 -> invert the interrupt
0x2 -> drive interrupt low
0x3 -> drive interrupt high
RW 0x0
27:18 Reserved. - - -
17:16 INOVER 0x0 -> don’t invert the peri input
0x1 -> invert the peri input
0x2 -> drive peri input low
0x3 -> drive peri input high
RW 0x0
15:14 Reserved. - - -
13:12 OEOVER 0x0 -> drive output enable from peripheral signal selected
by funcsel
0x1 -> drive output enable from inverse of peripheral signal
selected by funcsel
0x2 -> disable output
0x3 -> enable output
RW 0x0
11:10 Reserved. - - -
9:8 OUTOVER 0x0 -> drive output from peripheral signal selected by
funcsel
0x1 -> drive output from inverse of peripheral signal
selected by funcsel
0x2 -> drive output low
0x3 -> drive output high
RW 0x0
7:5 Reserved. - - -
4:0 FUNCSEL 0-31 -> selects pin function according to the gpio table
31 == NULL
0x00 -> jtag_tck
0x01 -> spi0_rx
0x02 -> uart0_tx
0x03 -> i2c0_sda
0x04 -> pwm_a_0
0x05 -> sio_0
0x06 -> pio0_0
0x07 -> pio1_0
0x09 -> usb_muxing_overcurr_detect
0x1f -> null
RW 0x1f
INTR0 Register
Description
Raw Interrupts
RP2040 Datasheet
2.18. GPIO 219