You are on page 1of 1

Z:\_218aTeams\Team12 - The Dirty Dozen\FINAL PROJECT MACHINES\ControllerA\Headers\Debounce.

Sunday, December 01, 2013 5:40 PM

/**************************************************************************** Header file for all input debouncing based on the Gen 2 Events and Services Framework Description: Simply a software debounce implementation for various input event checkers. The following inputs are debounced in Debounce: - Start button BP - Access card detection Event checkers: No actual framework event checkers, but this service acts as an event checker Events posted: - StartBP - AccessCardDetected ****************************************************************************/ #ifndef Debounce_H #define Debounce_H #include "ES_Types.h" // Public Function Prototypes /************************ Required Function Prototypes ************************/ /* InitDebounce - only needs to be called once * Initializes pins, module level variables necessary for Debounce */ bool InitDebounce ( uint8_t Priority ); bool PostDebounce( ES_Event ThisEvent ); ES_Event RunDebounce( ES_Event ThisEvent );

/************************ Interface Function Prototypes ************************/ /*************************** Event Checker Prototypes **************************/

#endif /* Debounce_H */

-1-

You might also like