at91sam7s-ek: add the "kernel" preset template.
[bertos.git] / bertos / cfg / cfg_timer.h
index 9333e6e3a431b782418a7fa4360d2f415d76995b..1cff78b89426a8b68c68f2b03495498f788502d7 100644 (file)
 #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
 
-/// Debug timer interrupt using a strobe pin.
+/**
+ * Debug timer interrupt using a strobe pin.
+ * $WIZ$ type = "boolean"
+ */
 #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 */