Lighting

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

/****************************************************************************

Header file for Lighting Flat Sate Machine


based on the Gen2 Events and Services Framework

****************************************************************************/

#ifndef Lighting_H
#define Lighting_H

// Event Definitions
#include "ES_Configure.h" /* gets us event definitions */
#include "ES_Types.h" /* gets bool type for returns */

// typedefs for the states


// State definitions for use with the query function
typedef enum
{
InitPsState, TeamStatus, IGS, GO
}LightingState_t;

// Public Function Prototypes

bool InitLightingFSM(uint8_t Priority);


bool PostLightingFSM(ES_Event_t ThisEvent);
ES_Event_t RunLightingFSM(ES_Event_t ThisEvent);
LightingState_t QueryLightingSM(void);

#endif /* FSMLighting_H */

You might also like