timer.h 159 Bytes
Newer Older
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
1 2 3 4 5
#ifndef __TIMER_H
#define __TIMER_H

#include "types.h"

6 7
#define TICS_PER_SECOND 1000

Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
8 9 10 11
uint32_t timer_get_tics();
void timer_delay(uint32_t how_long);

#endif