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 00030 typedef struct ALARM ALARM; 00031 00040 typedef void (*alarmcallback_t) (void); 00041 00048 int8_t sb_timer_cancelAlarm(ALARM *alrm); 00049 00069 ALARM *sb_timer_setAlarm(alarmcallback_t callback, uint16_t alarmtime, uint16_t cycle); 00070 00088 int8_t sb_timer_delay(uint16_t waittime); 00089 00098 void sb_timer_delay_abort(); 00099 00102 #endif 00103