Sample code to set dc lead-off with current source or sink resistors on all channels
WREG LOFF 10h // Comparator threshold at 95% and 5%, current source or sink resistor // DC lead-off
WREG CONFIG2 E0h // Turn-on dc lead-off comparators
WREG LOFF_SENS 0Fh // Turn on both P- and N-side of all channels for lead-off sensing
Observe the status bits of the output data stream to monitor lead-off status.