SWRU626 December 2025 CC3501E , CC3551E
To map a peripheral function to a GPIOn, where n can range from 0 to 44, set IOMUX.GPIOn.PCFG to the value that represents the target function. For example, to set GPIO0 to the base function (GPIO) set IOMUX.GPIOn.PCFG = 0x2.