SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
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 26 programmable I/O pins. These pins are configured by the IOC module. To modify a single GPIO output value, use the GPIO.DOUTn registers. The following describes the necessary steps to set up DIO1 as a GPIO output and toggle the bit.
TI recommends using the GPIO driver in the SimpleLink™ CC23xx Software Development Kit (SDK) when managing general purpose I/Os.