You are on page 1of 1

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

Sunday, December 01, 2013 5:39 PM

/**************************************************************************** Header file for template Flat Sate Machine based on the Gen2 Events and Services Framework ****************************************************************************/ #ifndef TargetFSM_H #define TargetFSM_H // Event Definitions #include "ES_Configure.h" #include "ES_Types.h" // typedefs for the states // State definitions for use with the query function typedef enum {FirstTInit,InitTState, BothNotActive, AHit, BHit, BothHit} TargetState_t ;

// Public Function Prototypes bool InitTargetFSM ( uint8_t Priority ); bool PostTargetFSM( ES_Event ThisEvent ); ES_Event RunTargetFSM( ES_Event ThisEvent ); TargetState_t QueryTargetFSM ( void );

#endif

-1-

You might also like