summaryrefslogtreecommitdiff
path: root/src/stem/timer.h
blob: 3ed3009e54ba6dc2a5b6354e50e01afeef8cd42d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#ifndef DEF_TIMER_H
#define DEF_TIMER_H

#include "types.h"

void timer_init(uint32_t frequency);
uint32_t timer_time();		//Returns miliseconds (approximate) since computer started
uint32_t timer_uptime();	//Same thing in seconds

#endif