summaryrefslogtreecommitdiff
path: root/firmware/target/arm/at91sam/lyre_proto1/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/at91sam/lyre_proto1/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/at91sam/lyre_proto1/timer-target.h')
-rw-r--r--firmware/target/arm/at91sam/lyre_proto1/timer-target.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/target/arm/at91sam/lyre_proto1/timer-target.h b/firmware/target/arm/at91sam/lyre_proto1/timer-target.h
index b8298d3d77..d0773130bf 100644
--- a/firmware/target/arm/at91sam/lyre_proto1/timer-target.h
+++ b/firmware/target/arm/at91sam/lyre_proto1/timer-target.h
@@ -25,17 +25,4 @@
25/* timer is based on PCLK and minimum division is 2 */ 25/* timer is based on PCLK and minimum division is 2 */
26#define TIMER_FREQ (49156800/2) 26#define TIMER_FREQ (49156800/2)
27 27
28bool __timer_set(long cycles, bool set);
29bool __timer_start(void);
30void __timer_stop(void);
31
32#define __TIMER_SET(cycles, set) \
33 __timer_set(cycles, set)
34
35#define __TIMER_START() \
36 __timer_start()
37
38#define __TIMER_STOP(...) \
39 __timer_stop()
40
41#endif /* TIMER_TARGET_H */ 28#endif /* TIMER_TARGET_H */