SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
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);