/**************************************************************************
myTimer.h
ME 218B Project Hats Off
Team Firefox
March 7, 2010
***************************************************************************/
#ifndef myTimer_h
#define myTimer_h
/*-------------------------- Include Files
-----------------------------*/
#include <stdio.h>
#include <termio.h>
#include <hidef.h>
#include <mc9s12e128.h>
#include <bitdefs.h>
#include <S12E128bits.h>
#include
"S12eVec.h"
#include
"ME218_E128.h"
//included with main.c for E128
/* common
defines and macros */
/*
derivative information */
#pragma LINK_INFO DERIVATIVE "SampleS12"
/*-------------------------- Module Functions -----------------------------*/
void
MyTimer_Init(void); //can call multiple times without error
unsigned int
MyTimer_GetTime(void);
void
wait(unsigned int); //will block
/*-------------------------- Module Type Def
-----------------------------*/
#endif