Data Structures | Functions
timer.h File Reference

Timer library header file. More...

#include "sys/clock.h"

Go to the source code of this file.

Data Structures

struct  timer
 A timer. More...


void timer_set (struct timer *t, clock_time_t interval)
 Set a timer. More...
void timer_reset (struct timer *t)
 Reset the timer with the same interval. More...
void timer_restart (struct timer *t)
 Restart the timer from the current point in time. More...
int timer_expired (struct timer *t)
 Check if a timer has expired. More...
clock_time_t timer_remaining (struct timer *t)
 The time until the timer expires. More...

Detailed Description

Timer library header file.

Adam Dunkels

Definition in file timer.h.