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

VxWorks

开发平台:

C/C++

  1. /* ppcDecTimer.h - PowerPC Timer header */
  2. /* Copyright 1984-1996 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,27apr95,caf  changed "60x" to "Dec", removed PPC60x_TIMER_INT_VECTOR macro.
  7. 01b,25jan95,vin  cleanup.
  8. 01a,20jan95,kvk  created.
  9. */
  10. /*
  11. DESCRIPTION
  12. This file contains header information for PowerPC timer routines.
  13. */
  14. #ifndef __INCppcDecTimerh
  15. #define __INCppcDecTimerh
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /* function declarations */
  20. #ifndef _ASMLANGUAGE
  21. #if defined(__STDC__) || defined(__cplusplus)
  22. IMPORT STATUS sysClkConnect (FUNCPTR routine, int arg);
  23. IMPORT void sysClkDisable (void);
  24. IMPORT void sysClkEnable (void);
  25. IMPORT int sysClkRateGet (void);
  26. IMPORT STATUS sysClkRateSet (int ticksPerSecond);
  27. #else /* __STDC__ */
  28. IMPORT STATUS sysClkConnect ();
  29. IMPORT void sysClkDisable ();
  30. IMPORT void sysClkEnable ();
  31. IMPORT int sysClkRateGet ();
  32. IMPORT STATUS sysClkRateSet ();
  33. #endif /* __STDC__ */
  34. #endif /* _ASMLANGUAGE */
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /* __INCppcDecTimerh */