projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wizard info for timer.
[bertos.git]
/
bertos
/
cfg
/
cfg_timer.h
diff --git
a/bertos/cfg/cfg_timer.h
b/bertos/cfg/cfg_timer.h
index 9d8357ef500a9badac7b95ef9c4de40da7f48fac..7ed1955809a2805c748197a2e788b5f73bd2e5a6 100644
(file)
--- a/
bertos/cfg/cfg_timer.h
+++ b/
bertos/cfg/cfg_timer.h
@@
-40,16
+40,21
@@
#ifndef CFG_TIMER_H
#define CFG_TIMER_H
#ifndef CFG_TIMER_H
#define CFG_TIMER_H
-/// Hardware timer selection for drv/timer.c
+/**
+ *
+ * $WIZARD_LIST = { "timer_select" : ["TIMER_DEFAULT"] }
+ */
+
+/// Hardware timer selection for drv/timer.c. $WIZARD = { "type" : "enum", "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.
$WIZARD = { "type" : "boolean" }
#define CONFIG_TIMER_STROBE 0
#define CONFIG_TIMER_STROBE 0
-/// Enable asynchronous timers
+/// Enable asynchronous timers
. $WIZARD = { "type" : "boolean" }
#define CONFIG_TIMER_EVENTS 1
#define CONFIG_TIMER_EVENTS 1
-/// Support hi-res timer_usleep()
+/// Support hi-res timer_usleep()
. $WIZARD = { "type" : "boolean" }
#define CONFIG_TIMER_UDELAY 1
#endif /* CFG_TIMER_H */
#define CONFIG_TIMER_UDELAY 1
#endif /* CFG_TIMER_H */