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


  Header file for template service

  based on the Gen 2 Events and Services Framework


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


#ifndef LEDService_H

#define LEDService_H


#include <stdint.h>

#include <stdbool.h>


#include "ES_Types.h"

#include "ES_Events.h"


typedef enum

{

  InitState, Waiting, Updating

}LEDServiceState_t;


// Public Function Prototypes


bool InitLEDService(uint8_t Priority);

bool PostLEDService(ES_Event_t ThisEvent);

ES_Event_t RunLEDService(ES_Event_t ThisEvent);


#endif /* ServTemplate_H */