ppcDecTimer.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* ppcDecTimer.h - PowerPC Timer header */
- /* Copyright 1984-1996 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01c,27apr95,caf changed "60x" to "Dec", removed PPC60x_TIMER_INT_VECTOR macro.
- 01b,25jan95,vin cleanup.
- 01a,20jan95,kvk created.
- */
- /*
- DESCRIPTION
- This file contains header information for PowerPC timer routines.
- */
- #ifndef __INCppcDecTimerh
- #define __INCppcDecTimerh
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* function declarations */
- #ifndef _ASMLANGUAGE
- #if defined(__STDC__) || defined(__cplusplus)
- IMPORT STATUS sysClkConnect (FUNCPTR routine, int arg);
- IMPORT void sysClkDisable (void);
- IMPORT void sysClkEnable (void);
- IMPORT int sysClkRateGet (void);
- IMPORT STATUS sysClkRateSet (int ticksPerSecond);
- #else /* __STDC__ */
- IMPORT STATUS sysClkConnect ();
- IMPORT void sysClkDisable ();
- IMPORT void sysClkEnable ();
- IMPORT int sysClkRateGet ();
- IMPORT STATUS sysClkRateSet ();
- #endif /* __STDC__ */
- #endif /* _ASMLANGUAGE */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCppcDecTimerh */