Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

IxTimersCodelet.h

Go to the documentation of this file.
00001 
00073 #ifndef IXTIMERSCODELET_H_
00074 #define IXTIMERSCODELET_H_
00075 
00076 #include "IxTypes.h"
00077 
00078 
00088 typedef enum
00089 {
00090     IX_TIMER_1,   
00091     IX_TIMER_2,   
00092     IX_TIMER_WDOG,
00093     IX_TIMER_TS,  
00094     IX_TIMER_PMU, 
00095     IX_TIMER_MAX  
00096 } IxTimerId;
00097 
00105 typedef void (*IxTimerIsr)(void *arg);
00106 
00125 PUBLIC IX_STATUS 
00126 ixTimerInit (BOOL recoverFromLostStatus);
00127 
00128 
00147 PUBLIC IX_STATUS
00148 ixTimerBind (IxTimerId timer,
00149          IxTimerIsr isr, 
00150          void *arg);
00151 
00152 
00182 PUBLIC IX_STATUS 
00183 ixTimerEnable (IxTimerId timer,
00184            UINT32 downCounter,
00185            BOOL oneShot);
00186 
00205 PUBLIC IX_STATUS 
00206 ixTimerDisable (IxTimerId timer);
00207 
00235 PUBLIC IX_STATUS 
00236 ixTimerDownCounterGet (IxTimerId timer, UINT32 *downCounter);
00237 
00254 PUBLIC IX_STATUS 
00255 ixTimerUnbind (IxTimerId timer);
00256 
00273 PUBLIC void 
00274 ixTimerShow(void);
00275 
00276 
00277 #endif /* IXTIMERSCODELET_H_ */
00278 
Automatically generated from sources. © Intel Corp. 2003