/* hpetTimerK.h - header for the timer library */

/* Copyright 2008 Kontron Modular Computers GmbH */

/*
modification history
--------------------
01a,28jul08,pwo initially created
*/

#ifndef __INChpetTimerK_h
#define __INChpetTimerK_h

#ifdef __cplusplus
extern "C" {
#endif

/* includes */

#include "vxWorks.h"
#include "versionK.h"

/* defines */

KONTRON_VERSION(hpetTimerK_h,01a)					/* version identifier */

/* function declarations */

#if defined(__STDC__) || defined(__cplusplus)

IMPORT STATUS hpetTimerInit		(void);
IMPORT STATUS hpetTimerInit2	(void);
IMPORT void hpetTimerUsDelay	(int microSeconds);
IMPORT void hpetTimerMsDelay	(int miliSeconds);
IMPORT void hpetTimerDelay		(void);

#else

IMPORT STATUS hpetTimerInit		();
IMPORT STATUS hpetTimerInit2	();
IMPORT void hpetTimerUsDelay	();
IMPORT void hpetTimerMsDelay	();
IMPORT void hpetTimerDelay		();

#endif	/* __STDC__ */

#ifdef __cplusplus
}
#endif

#endif /* __INChpetTimerK_h */

/* eof */
