SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
To map a peripheral function to DIOn, where n can range from 0 to a maximum of 31, the PORTID and pin configuration must be set in the corresponding IOC:IOCFGn register. To select what kind of function the pin must be routed, choose the PORTID number for the desired peripheral function and write the PORTID number to the IOC:IOCFGn.PORTID bit field.
The function can be set by using the following driver library function:
IOCPortConfigureSet(DIOn, PORTID, PIN-CONFIG);
See Section 14.5 for the kind of configurations that can be set in PIN-CONFIG.