mirror of
https://github.com/siemens-mobile-hacks/siemens-process-library.git
synced 2026-11-25 23:57:42 +00:00
25 lines
455 B
C
25 lines
455 B
C
|
|
|
|
#ifndef __TIMER_H__
|
|
#define __TIMER_H__
|
|
|
|
#include "coreevent.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
int timerStart(unsigned long time, void (*callback)(int, void *), void *userdata);
|
|
int timerReset(int id, unsigned long time, void (*callback)(int, void *), void *userdata);
|
|
int timerPause(int timer);
|
|
int timerResume(int timer);
|
|
int timerStop(int timer);
|
|
void *timerUserData(int id);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|