Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Attributes | List of all members
Debounce::Settings Struct Reference

#include <Debounce.h>

Public Attributes

unsigned int intervalPositiveEdge
 Debouncing interval when encountering a positive edge (false to true transition)
unsigned int intervalNegativeEdge
 Debouncing interval when encountering a negative edge ('true' to 'false' transition)

Detailed Description

Some systems have different bouncing behaviours when transitioning from low to high versus when transitioning from high to low. Using this structure allows to specify different debounce intervals in the two directions.

The documentation for this struct was generated from the following file: