How can the value of a resistor be measured if it goes straight to ground?
It's generally done with a current source.

The current source applies a current to the unknown resistor and the voltage across the resistor is measured.

Usually the current source is will be trimmed and curvature corrected over temperature to improve accuracy.

Sometimes the voltage is measured with an ADC.







simulate this circuit &ndash; Schematic created using CircuitLab