Button Parameters. More...
#include <Button.h>
Data Fields | |
uint32_t | debounceDuration |
uint32_t | longPressDuration |
uint32_t | doublePressDetectiontimeout |
Button_EventMask | buttonEventMask |
Button Parameters.
Button parameters are used with the Button_open() call. Default values for these parameters are set using Button_Params_init().
uint32_t Button_Params::debounceDuration |
Debounce duration for the button in milliseconds(ms)
uint32_t Button_Params::longPressDuration |
Long press duration is milliseconds(ms)
uint32_t Button_Params::doublePressDetectiontimeout |
Double press detection timeout is milliseconds(ms)
Button_EventMask Button_Params::buttonEventMask |
Event subscription mask for the button