Targetfsm
Targetfsm
/**************************************************************************** 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-