Patent ID: 10819323

Abstract:
A method for debouncing an electrical input signal (xin) includes following steps: (1) an input signal (xin) is received and a present value of the input signal (xin) is ascertained; (2) ascertaining whether the present value of the input signal (xin) is above or below at least one predefined limit value (xG); (3) producing a debounce status variable (xE) having a defined initial value; (4) altering the value of the debounce status variable (xE) on the basis of at least whether the value of the input signal (xin) is above or below the at least one limit value (xG), (5) generating an output signal (xout) on the basis of whether the value of the debounce status variable (xE) corresponds to the minimum value (Wmin), to the maximum value (Wmax) or to a value between the minimum value (Wmin) and the maximum value (Wmax).