blob: b4b219785691969bf4a483293c466eff189d871b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef APOS_ARCH_TIMER_H
#define APOS_ARCH_TIMER_H
/**
* @file timer.h
* Arch-specific timer handling, generally implemented in
* arch/whatever/timer.c
*/
#include <apos/timer.h>
/* return hardware timer frequency */
ticks_t stat_timer();
/* set up timer interrupt for absolute ticks */
void set_timer(ticks_t ticks);
/* current ticks */
ticks_t current_ticks();
#endif /* APOS_ARCH_TIMER_H */
|