|
Open Model Railroad Network (OpenMRN)
|
Static parameters for the CountingDebouncer. More...
#include <Debouncer.hxx>
Public Attributes | |
| uint8_t | window_size |
| Number of samples to keep. Must be between 1 and 32. | |
| uint8_t | min_count |
| Number of samples that have to be 1 within the window to consider the debounce value 1. | |
Static parameters for the CountingDebouncer.
Passed in at construction and kept constant after construction.
Definition at line 147 of file Debouncer.hxx.
| uint8_t CountingDebouncer::Options::min_count |
Number of samples that have to be 1 within the window to consider the debounce value 1.
Must be within 1 and window_size.
Definition at line 153 of file Debouncer.hxx.
| uint8_t CountingDebouncer::Options::window_size |
Number of samples to keep. Must be between 1 and 32.
Definition at line 150 of file Debouncer.hxx.