OpenWSN Firmware
bsp_timer.h
Go to the documentation of this file.
1 #ifndef __BSP_TIMERS_H
2 #define __BSP_TIMERS_H
3 
15 #include "stdint.h"
16 #include "board.h"
17 
18 //=========================== define ==========================================
19 
20 //=========================== typedef =========================================
21 
22 typedef void (*bsp_timer_cbt)(void);
23 
24 //=========================== variables =======================================
25 
26 //=========================== prototypes ======================================
27 
28 void bsp_timer_init(void);
30 void bsp_timer_reset(void);
31 void bsp_timer_scheduleIn(PORT_TIMER_WIDTH delayTicks);
32 void bsp_timer_cancel_schedule(void);
33 PORT_TIMER_WIDTH bsp_timer_get_currentValue(void);
34 
35 // interrupt handlers
37 
43 #endif
PORT_TIMER_WIDTH bsp_timer_get_currentValue(void)
void bsp_timer_init(void)
kick_scheduler_t
Definition: board.h:20
void bsp_timer_scheduleIn(PORT_TIMER_WIDTH delayTicks)
kick_scheduler_t bsp_timer_isr(void)
void bsp_timer_reset(void)
void(* bsp_timer_cbt)(void)
Definition: bsp_timer.h:22
void bsp_timer_cancel_schedule(void)
void bsp_timer_set_callback(bsp_timer_cbt cb)