There's no special circuit, the ECU just measures resistance.