The preceding discussion of the INTERRUPT HANDLER subroutine 68 is substantially mirrored when the sign of the signal slope at the previous conversion is determined by step 72 to be negative.
In step 92, the value of the signal level at the current A/D conversion is compared to the negative gain threshold.