OpenWSN Firmware
radiotimer.h File Reference
#include "stdint.h"
#include "board.h"

Go to the source code of this file.

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)