wvTmrLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* wvTmrLib.h - timer library header */
  2. /* Copyright 1993 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,10dec93,smb  written.
  7. */
  8. #ifndef __INCwvtmrlibh
  9. #define __INCwvtmrlibh
  10. /* typedefs */
  11. typedef unsigned int             (*UINTFUNCPTR) ();
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #if defined(__STDC__) || defined(__cplusplus)
  16. void wvTmrRegister (UINTFUNCPTR wvTmrRtn, UINTFUNCPTR wvTmrLockRtn, 
  17.     FUNCPTR wvTmrEnable, FUNCPTR wvTmrDisable, 
  18.     FUNCPTR wvTmrConnect, UINTFUNCPTR wvTmrPeriod, 
  19.     UINTFUNCPTR wvTmrFreq);
  20. #else   /* __STDC__ */
  21. void wvTmrRegister ();
  22. #endif  /* __STDC__ */
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* __INCwvtmrlibh*/