Data Fields
Button_Params Struct Reference

Button Parameters. More...

#include <Button.h>

Data Fields

uint32_t debounceDuration
 
uint32_t longPressDuration
 
uint32_t doublePressDetectiontimeout
 
Button_EventMask buttonEventMask
 

Detailed Description

Button Parameters.

Button parameters are used with the Button_open() call. Default values for these parameters are set using Button_Params_init().

See also
Button_Params_init()

Field Documentation

§ debounceDuration

uint32_t Button_Params::debounceDuration

Debounce duration for the button in milliseconds(ms)

§ longPressDuration

uint32_t Button_Params::longPressDuration

Long press duration is milliseconds(ms)

§ doublePressDetectiontimeout

uint32_t Button_Params::doublePressDetectiontimeout

Double press detection timeout is milliseconds(ms)

§ buttonEventMask

Button_EventMask Button_Params::buttonEventMask

Event subscription mask for the button


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale