projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
cfg
/
cfg_timer.h
diff --git
a/bertos/cfg/cfg_timer.h
b/bertos/cfg/cfg_timer.h
index 9333e6e3a431b782418a7fa4360d2f415d76995b..b6d43b38b6d3295299aca5e5009f1cbe65f90535 100644
(file)
--- a/
bertos/cfg/cfg_timer.h
+++ b/
bertos/cfg/cfg_timer.h
@@
-32,7
+32,6
@@
*
* \brief Configuration file for timer module.
*
*
* \brief Configuration file for timer module.
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*/
*
* \author Daniele Basile <asterix@develer.com>
*/
@@
-40,10
+39,29
@@
#ifndef CFG_TIMER_H
#define CFG_TIMER_H
#ifndef CFG_TIMER_H
#define CFG_TIMER_H
-/// Hardware timer selection for drv/timer.c
+/**
+ * Hardware timer selection for drv/timer.c.
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "timer_select"
+ */
#define CONFIG_TIMER TIMER_DEFAULT
#define CONFIG_TIMER TIMER_DEFAULT
-/// Debug timer interrupt using a strobe pin.
+/**
+ * Debug timer interrupt using a strobe pin.
+ * $WIZ$ type = "boolean"
+ */
#define CONFIG_TIMER_STROBE 0
#define CONFIG_TIMER_STROBE 0
+/**
+ * Enable asynchronous timers.
+ * $WIZ$ type = "boolean"
+ */
+#define CONFIG_TIMER_EVENTS 1
+
+/**
+ * Support hi-res timer_usleep().
+ * $WIZ$ type = "boolean"
+ */
+#define CONFIG_TIMER_UDELAY 1
+
#endif /* CFG_TIMER_H */
#endif /* CFG_TIMER_H */