SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
The MCU GPIO is a general-purpose input/output module that allows software to write to and read from the DIOs. GPIO supports up to 31 programmable I/O pins. These pins are configured by the IOC module. To modify a single GPIO output value, use the GPIO:DOUTn registers (see Section 14.10.2). To set up DIO1 as a GPIO output and toggle the bit, use the following procedure.
IOCPinTypeGpioOutput(0x1);
GPIOPinToggle(0x1);