Collection of Debouncing strategies from the internet suitable for embedded systems. The algorithms currently implemented are from this article by Jack Ganssle https://www.embedded.com/my-favorite-software-debouncers/
Code Structure
- Source files are present in @ref Src
- Interface files are present in @ref inc
- PLease refer doxygen generated HTML documentation in the Doc/html subfolder for implementation details
- The function entry point is @ref Main.c
Usage
- Initialization of the debugger is achieved through @ref debounce_Init in @ref Debounce.h
- At initialization the function for reading raw button input needs to be passed to @ref debounce_Init.
- @ref debounce_pressRelease or @ref debounce_bitTrain need to be called periodically using an interrupt or task, Please refer to the @ref debounce_Init section for details
- @ref debounce_isKeyPressed is used to read debounced buttons
Credits
- The algorithms implemented are based on this article by Jack Ganssle https://www.embedded.com/my-favorite-software-debouncers/
Permissions
- PLease refer to the LICENSE file
Contact Me
- You can reach out to me on LinkedIn here https://www.linkedin.com/in/vishal-keshava-murthy-8a2ba1a7/