SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
There are up to 32 signals (AUXIO0 to AUXIO31) in the sensor controller domain (AUX Domain). These signals can be routed to specific DIO pins given in Table 15-2. The signals AUXIO19 to AUXIO26 have analog capability, but can also be used as digital I/Os. All the other AUXIOn signals are digital only. The signals routed from the AUX Domain are configured differently than GPIO and other peripheral functions. This section does not cover the use of all the capabilities of the sensor controller (for more details, see Chapter 495).
In this example, AUXIO1 is mapped to DIO17 and set up as a digital input.
Set the IOC:IOCFG17.PORT_ID bit field to 0x08 (AUX_I/O) to route AUXIO1 to DIO17.
The I/O signals in the AUX domain have their own open-source or open-drain configuration, which must be set in the AUX_AIODIO0:IOMODE register in the AUX domain. Set AUX_AIODIO0:IOMODE.IO1 to 0x01 to enable AUXIO1 as a digital input.
Enable the digital input buffer for AUXIO1 by setting the IO7_0 bit field to 0x02 in the AUX_AIODIO0:GPIODIE register.