These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

timer.c File Reference

timer.c File Reference

Timer library implementation. More...

Go to the source code of this file.

Functions

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

Detailed Description

Timer library implementation.

Author:
Adam Dunkels <adam@sics.se>

Definition in file timer.c.