JAJSGG2C October 2018 – June 2019 ADS125H02
The ADC provides four GPIO pins (GPIO0 through GPIO4). The GPIO are digital inputs and outputs with logic values that are read and written by the GPIO_DAT bits of the MODE3 register. Two GPIOs are available on dedicated pins and two GPIOs are multiplexed functions with an external reference (REFP1 and REFN1). The GPIO input and output levels are referred to AVDD and AGND. As Figure 64 shows, the input threshold value is AVDD / 2 (typical). The GPIO_CON[3:0] bits set the GPIO connection to the designated pin (1 = connected). The GPIO_DIR bits program the direction of the GPIO as an input (1) or output (0). The GPIO_DAT[3:0] bits are the data values for the GPIO. If a GPIO pin is programmed as an output, the value read is the register data previously written.