summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/timer-target.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
commitc5dedd7d762f48e940ecc0bd17dd2173d59a92e1 (patch)
treecd4d9dc085b4c40f281f17953a3e126dd1c0c02b /firmware/target/arm/as3525/timer-target.h
parent89ccd5c145e45ad541a02f38e2ad07fb916f7135 (diff)
downloadrockbox-c5dedd7d762f48e940ecc0bd17dd2173d59a92e1.tar.gz
rockbox-c5dedd7d762f48e940ecc0bd17dd2173d59a92e1.zip
Remove the TIMER_* macros and declare target-specific functions in timer.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/timer-target.h')
-rw-r--r--firmware/target/arm/as3525/timer-target.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/target/arm/as3525/timer-target.h b/firmware/target/arm/as3525/timer-target.h
index b1bdfed78f..f6b4fae370 100644
--- a/firmware/target/arm/as3525/timer-target.h
+++ b/firmware/target/arm/as3525/timer-target.h
@@ -21,19 +21,6 @@
21#ifndef TIMER_TARGET_H 21#ifndef TIMER_TARGET_H
22#define TIMER_TARGET_H 22#define TIMER_TARGET_H
23 23
24bool __timer_set(long cycles, bool set);
25bool __timer_start(void);
26void __timer_stop(void);
27
28#define TIMER_FREQ (24000000 / 16) 24#define TIMER_FREQ (24000000 / 16)
29 25
30#define __TIMER_SET(cycles, set) \
31 __timer_set(cycles, set)
32
33#define __TIMER_START() \
34 __timer_start()
35
36#define __TIMER_STOP(...) \
37 __timer_stop()
38
39#endif /* TIMER_TARGET_H */ 26#endif /* TIMER_TARGET_H */