It is unclear on the ADS7828 datasheet, what happens if you connect a voltage to the Vref pin but select "use internal reference" when reading the values? i.e. what happens if I send PD1 and PD0 as both one, but have 5 volts hooked to pin 10 (Vref in/out)?