/****************************************************************************
Header file for PopUpButton
  based on the Gen 2 Events and Services Framework
 ****************************************************************************/
#ifndef PopUpButton_H
#define PopUpButton_H
// Event   Definitions
#include   "ES_Configure.h" /* gets us event definitions */
#include   "ES_Framework.h" /* gets ES_Framework */
#include   "ES_Types.h"     /* gets bool type for returns */
// typedefs for the states
typedef enum { Debouncing, Ready2Sample } ButtonState_t;
// Public Function Prototypes
bool InitPopUpButton(uint8_t Priority);
bool PostPopUpButton(ES_Event ThisEvent);
ES_Event RunPopUpButton(ES_Event ThisEvent);
bool Check4Button(void);
#endif /* PopUpButton_H */