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

Module Name:  DrvLib_wait.h

Abstract:


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


#ifndef __DRIVER_LIB_WAIT_H__
#define __DRIVER_LIB_WAIT_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <clkinfo.h>


#ifdef DRVWAIT_LIBRARY
//For used in drvlib.c
#define DWAITEXTERN	extern __declspec(dllexport)
#elif defined(DRVWAIT_STATIC_LIBRARY)
#define DWAITEXTERN	extern 
#else
//For use with driver
#define DWAITEXTERN	extern __declspec(dllimport) 
#endif
//-----------------------------------------------------------
//	Delay Functions
//-----------------------------------------------------------
DWAITEXTERN int DrvLib_WaitUsec(UINT32 microSeconds);

DWAITEXTERN void DrvWAITInitialize(void);

DWAITEXTERN SYSTEM_CLOCK gSystemClock;
#if __cplusplus
}
#endif
#endif //__DRIVER_LIB_WAIT_H__
