Data Fields
Button_Object Struct Reference

Internal to Button module. Members should not be accessed by the application. More...

#include <Button.h>

Collaboration diagram for Button_Object:
Collaboration graph
[legend]

Data Fields

ClockP_Handle clockHandle
 
Button_StateVariables buttonStateVariables
 
Button_EventMask buttonEventMask
 
Button_Callback buttonCallback
 
uint32_t debounceDuration
 
uint32_t longPressDuration
 
uint32_t doublePressDetectiontimeout
 
Button_Pull buttonPull
 

Detailed Description

Internal to Button module. Members should not be accessed by the application.

Field Documentation

§ clockHandle

ClockP_Handle Button_Object::clockHandle

Handle to clock used for timing

§ buttonStateVariables

Button_StateVariables Button_Object::buttonStateVariables

State variables for handling the debounce state machine

§ buttonEventMask

Button_EventMask Button_Object::buttonEventMask

Event subscription mask for the button

§ buttonCallback

Button_Callback Button_Object::buttonCallback

Callback function for the button

§ debounceDuration

uint32_t Button_Object::debounceDuration

Debounce duration for the button in milliseconds(ms)

§ longPressDuration

uint32_t Button_Object::longPressDuration

Long press duration is milliseconds(ms)

§ doublePressDetectiontimeout

uint32_t Button_Object::doublePressDetectiontimeout

Double press detection timeout is milliseconds(ms)

§ buttonPull

Button_Pull Button_Object::buttonPull

Button pull(stored after reading from GPIO module)


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