OpenWSN Firmware
Radiotimer

Cross-platform declaration "radiotimer" bsp module. More...

Typedefs

typedef void(* radiotimer_compare_cbt )(void)
 
typedef void(* radiotimer_capture_cbt )(PORT_TIMER_WIDTH timestamp)
 

Functions

void radiotimer_init (void)
 
void radiotimer_setOverflowCb (radiotimer_compare_cbt cb)
 
void radiotimer_setCompareCb (radiotimer_compare_cbt cb)
 
void radiotimer_setStartFrameCb (radiotimer_capture_cbt cb)
 
void radiotimer_setEndFrameCb (radiotimer_capture_cbt cb)
 
void radiotimer_start (PORT_RADIOTIMER_WIDTH period)
 
PORT_RADIOTIMER_WIDTH radiotimer_getValue (void)
 
void radiotimer_setPeriod (PORT_RADIOTIMER_WIDTH period)
 
PORT_RADIOTIMER_WIDTH radiotimer_getPeriod (void)
 
void radiotimer_schedule (PORT_RADIOTIMER_WIDTH offset)
 
void radiotimer_cancel (void)
 
PORT_RADIOTIMER_WIDTH radiotimer_getCapturedTime (void)
 
kick_scheduler_t radiotimer_isr (void)
 

Detailed Description

Cross-platform declaration "radiotimer" bsp module.

Author
Thomas Watteyne watte.nosp@m.yne@.nosp@m.eecs..nosp@m.berk.nosp@m.eley..nosp@m.edu, February 2012.

Typedef Documentation

typedef void(* radiotimer_capture_cbt)(PORT_TIMER_WIDTH timestamp)
typedef void(* radiotimer_compare_cbt)(void)

Function Documentation

void radiotimer_cancel ( void  )
PORT_RADIOTIMER_WIDTH radiotimer_getCapturedTime ( void  )
PORT_RADIOTIMER_WIDTH radiotimer_getPeriod ( void  )
PORT_RADIOTIMER_WIDTH radiotimer_getValue ( void  )
void radiotimer_init ( void  )
kick_scheduler_t radiotimer_isr ( void  )
void radiotimer_schedule ( PORT_RADIOTIMER_WIDTH  offset)
void radiotimer_setCompareCb ( radiotimer_compare_cbt  cb)
void radiotimer_setEndFrameCb ( radiotimer_capture_cbt  cb)
void radiotimer_setOverflowCb ( radiotimer_compare_cbt  cb)
void radiotimer_setPeriod ( PORT_RADIOTIMER_WIDTH  period)
void radiotimer_setStartFrameCb ( radiotimer_capture_cbt  cb)
void radiotimer_start ( PORT_RADIOTIMER_WIDTH  period)