Karg  v0.2.0
The kernel of CargOS
timer.h File Reference
#include <list.h>
#include <time.h>

Go to the source code of this file.

Classes

struct  timer_t
 

Functions

void timer_init (timer_t *timer)
 
void timer_wait (timer_t *timer, time_t ns, void(*callback)(void *data), void *data)
 
void timer_cancel (timer_t *timer)
 
void timer_isr (void)
 

Function Documentation

◆ timer_cancel()

void timer_cancel ( timer_t timer)

◆ timer_init()

void timer_init ( timer_t timer)

◆ timer_isr()

void timer_isr ( void  )

◆ timer_wait()

void timer_wait ( timer_t timer,
time_t  ns,
void(*)(void *data)  callback,
void *  data 
)