Commit | Line | Data |
---|---|---|
93ac315e MPM |
1 | /* $Id: time.h,v 1.1.1.1 2009/03/15 17:46:59 simimeie Exp $ |
2 | * USB interface for ds1820 | |
3 | * This file provides time functions. | |
4 | * (C) Michael "Fox" Meier 2009 | |
5 | */ | |
6 | ||
7 | #ifndef __TIME_H__ | |
8 | #define __TIME_H__ | |
9 | ||
10 | ||
11 | /* This inits the timer */ | |
12 | void time_init(void); | |
13 | ||
14 | /* This returns a timestamp. The timestamp increments about 10 times | |
15 | * per second. */ | |
16 | uint32_t gettime(void); | |
17 | ||
18 | #endif /* __TIME_H__ */ |