Loading...
Searching...
No Matches
trickle_t Struct Reference

all state variables of a trickle timer More...

Detailed Description

all state variables of a trickle timer

Definition at line 49 of file trickle.h.

#include <trickle.h>

Data Fields

uint8_t k
 redundancy constant
 
uint8_t Imax
 maximum interval size, described as of Imin doublings in ms
 
uint16_t c
 counter
 
uint32_t Imin
 minimum interval size in ms
 
uint32_t I
 current interval size in ms
 
uint32_t t
 time within the current interval in ms
 
kernel_pid_t pid
 pid of trickles target thread
 
trickle_callback_t callback
 callback function and parameter that trickle calls after each interval
 
msg_t msg
 the msg_t to use for intervals
 
ztimer_t msg_timer
 timer to send a msg_t to the target thread for a new interval
 

Field Documentation

◆ c

uint16_t trickle_t::c

counter

Definition at line 53 of file trickle.h.

◆ callback

trickle_callback_t trickle_t::callback

callback function and parameter that trickle calls after each interval

Definition at line 59 of file trickle.h.

◆ I

uint32_t trickle_t::I

current interval size in ms

Definition at line 55 of file trickle.h.

◆ Imax

uint8_t trickle_t::Imax

maximum interval size, described as of Imin doublings in ms

Definition at line 51 of file trickle.h.

◆ Imin

uint32_t trickle_t::Imin

minimum interval size in ms

Definition at line 54 of file trickle.h.

◆ k

uint8_t trickle_t::k

redundancy constant

Definition at line 50 of file trickle.h.

◆ msg

msg_t trickle_t::msg

the msg_t to use for intervals

Definition at line 61 of file trickle.h.

◆ msg_timer

ztimer_t trickle_t::msg_timer

timer to send a msg_t to the target thread for a new interval

Definition at line 62 of file trickle.h.

◆ pid

kernel_pid_t trickle_t::pid

pid of trickles target thread

Definition at line 58 of file trickle.h.

◆ t

uint32_t trickle_t::t

time within the current interval in ms

Definition at line 56 of file trickle.h.


The documentation for this struct was generated from the following file: