You are on page 1of 1

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

Header file for TeraMotorService


based on the Gen 2 Events and Services Framework

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

#ifndef TeraMotorService_H
#define TeraMotorService_H

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

// typedefs for the states


// State definitions for use with the query function
typedef enum { TeraInitPState, TeraWaitingState, TeraWorkingState}
TeraMotorState_t;

// Public Function Prototypes


bool InitTeraMotor ( uint8_t Priority );
bool Check4Knob(void);
bool PostTeraMotor( ES_Event ThisEvent );
ES_Event RunTeraMotor( ES_Event ThisEvent );
#endif /* TeraMotorService_H */

You might also like