trickle.h File Reference

Trickle timer interface definition. More...

Detailed Description

#include "xtimer.h"
#include "thread.h"
+ Include dependency graph for trickle.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  trickle_callback_t
 Trickle callback function with arguments. More...
 
struct  trickle_t
 all state variables of a trickle timer More...
 

Functions

void trickle_reset_timer (trickle_t *trickle)
 resets the trickle timer More...
 
void trickle_start (kernel_pid_t pid, trickle_t *trickle, uint16_t msg_type, uint32_t Imin, uint8_t Imax, uint8_t k)
 start the trickle timer More...
 
void trickle_stop (trickle_t *trickle)
 stops the trickle timer More...
 
void trickle_increment_counter (trickle_t *trickle)
 increments the counter by one More...
 
void trickle_interval (trickle_t *trickle)
 is called after the interval is over and calculates the next interval More...
 
void trickle_callback (trickle_t *trickle)
 is called after the interval is over and executes callback function More...