Calculating/Getting register adresses of gpio pins

Correct is for PADCTL register of PQ.06


Please refer to the above info from TRM that all control registers use the same base address of GPIO_CTL as following.

image

image

So, please use 0x02200000(GPIO_CTL) + 0x126c0(GPIO_Q_ENABLE_CONFIG_06_0) = 0x022126c0 for ENABLE_CONFIG of PQ.06

Please try to control it and check if the pin state would be changed.