Understanding Dannegger's Debouncer

Understanding the elegant Dannegger's debouncer algorithm