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

  Header file for Tape Service for ME 218B Team 3 Project

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

#ifndef TapeService_H
#define TapeService_H

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

#include "ES_Events.h"

// typedefs for the states
// State definitions for use with the query function
typedef enum { Debouncing, Ready2Sample } TapeDebounceState_t;

// Public Function Prototypes
bool InitTapeService(uint8_t Priority);
bool PostTapeService(ES_Event_t ThisEvent);
ES_Event_t RunTapeDebounce(ES_Event_t ThisEvent);

//Event Checker function
bool Check4Tape(void);

#endif /* TapeService_H */