#include <generic_debouncer.h>
|
| | GenericDebouncer (const units::millisecond_t symmetricDebounceTime, T initialValue={}) |
| | Construct a new Debouncer object with symmetric times.
|
| |
| T | operator() (T newVal) |
| | Update debouncer with new input and retreive latest debounced status.
|
| |
| void | Reset (T newVal) |
| |
◆ GenericDebouncer()
Construct a new Debouncer object with symmetric times.
- Parameters
-
| symmetricDebounceTime | Symmetric activate and clear time |
◆ operator()()
Update debouncer with new input and retreive latest debounced status.
- Parameters
-
- Returns
- Value after applying debounce
◆ Reset()
◆ m_debouncedStatus
Current value after applying debounce.
◆ m_debounceTime
◆ m_debounceTransitionTime
Time when latest transition detected.
◆ m_rawStatus
The documentation for this class was generated from the following file: