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

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

Header file for VisualBlastSM.c


based on the Gen 2 Events and Services Framework

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

#ifndef VisualBlastSM_H
#define VisualBlastSM_H

#include <stdint.h>
#include <stdbool.h>

#include "ES_Events.h"

// defines used by public functions


#define VisualBlast_PipeTimer 2

// State definitions for use with the query function


typedef enum
{
PseudoState_VisualBlastSM, //PseudoState
VisualBlastOff,
SelectingPipeLed,
GlowingPipeLed
}VisualSM_States_t;

// Public Function Prototypes

bool InitVisualBlastSM(uint8_t Priority);


bool PostVisualBlastSM(ES_Event_t ThisEvent);
ES_Event_t RunVisualBlastSM(ES_Event_t ThisEvent);

#endif /* VisualBlastSM_H */

You might also like