OpenWSN Firmware
sctimer.h
Go to the documentation of this file.
1 #ifndef __SCTIMER_H
2 #define __SCTIMER_H
3 
17 #include "stdint.h"
18 #include "board.h"
19 
20 //=========================== define ==========================================
21 #define SCTIMER_TICS_MS 33
22 //=========================== typedef =========================================
23 
24 typedef kick_scheduler_t (*sctimer_cbt)(void);
25 
26 //=========================== variables =======================================
27 
28 
29 //=========================== prototypes ======================================
30 
31 void sctimer_init(void);
32 void sctimer_stop(void);
33 void sctimer_schedule(PORT_TIMER_WIDTH val);
34 PORT_TIMER_WIDTH sctimer_getValue(void);
35 void sctimer_setCb(sctimer_cbt cb);
36 void sctimer_clearISR(void);
37 void sctimer_reset(void);
38 
44 #endif
void sctimer_schedule(PORT_TIMER_WIDTH val)
void sctimer_setCb(sctimer_cbt cb)
kick_scheduler_t(* sctimer_cbt)(void)
Definition: sctimer.h:24
kick_scheduler_t
Definition: board.h:20
PORT_TIMER_WIDTH sctimer_getValue(void)
void sctimer_init(void)
void sctimer_reset(void)
void sctimer_stop(void)
void sctimer_clearISR(void)