projects
/
cdmenu
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
adding a bunch of code (vesa, keyb, mouse, etc) to the menu
[cdmenu]
/
menu
/
src
/
timer.h
1
#ifndef TIMER_H_
2
#define TIMER_H_
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
/* expects the required timer resolution in hertz
9
* if res_hz is 0, the current resolution is retained
10
*/
11
void init_timer(int res_hz);
12
13
void reset_timer(void);
14
unsigned long get_msec(void);
15
16
void sleep_msec(unsigned long msec);
17
18
#ifdef __cplusplus
19
}
20
#endif
21
22
#endif /* TIMER_H_ */