This project shows how to use GPADC driver to measure sensor voltage and external pin voltage.
Follow the instructions to select the voltage measurement.
Note : The external pin voltage must be within 0 V - 1.8 V.