You are on page 1of 1

#ifndef LEDService_H

#define LEDService_H

// the common headers for C99 types


#include <stdint.h>
#include <stdbool.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 { Welcome, Terraform, Popup, Torch } LEDServiceState_t ;
//Need to include: EOC_WaitRise, EOC_WaitFall, DecodeWaitRise, DecodeWaitFall in
above

// Public Function Prototypes


bool InitializeLEDService ( uint8_t Priority );
bool PostLEDService( ES_Event ThisEvent );
ES_Event RunLEDService( ES_Event ThisEvent );
LEDServiceState_t QueryLEDService ( void );

#endif

You might also like