Found a bug or something ambiguous? Mail us to get it fixed!
00001 #ifndef TIMER_H 00002 #define TIMER_H 00003 #include <stdint.h> 00004 00023 typedef struct ALARM ALARM; 00024 00033 typedef void (*alarmcallback_t) (void); 00034 00041 int8_t sb_timer_cancelAlarm(ALARM *alrm); 00042 00052 ALARM *sb_timer_setAlarm(alarmcallback_t callback, uint16_t alarmtime, uint16_t cycle); 00053 00067 int8_t sb_timer_delay(uint16_t waittime); 00068 00075 void sb_timer_delay_abort(); 00076 00077 #endif 00078