From: asterix Date: Thu, 5 Feb 2009 11:48:07 +0000 (+0000) Subject: Add wizard info for timer. X-Git-Tag: 2.1.0~416 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=702bedb30a235a64f61f1d06653f8b22e39b5c5f;p=bertos.git Add wizard info for timer. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2266 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_timer.h b/bertos/cfg/cfg_timer.h index 9d8357ef..7ed19558 100644 --- a/bertos/cfg/cfg_timer.h +++ b/bertos/cfg/cfg_timer.h @@ -40,16 +40,21 @@ #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 -/// Debug timer interrupt using a strobe pin. +/// Debug timer interrupt using a strobe pin. $WIZARD = { "type" : "boolean" } #define CONFIG_TIMER_STROBE 0 -/// Enable asynchronous timers +/// Enable asynchronous timers. $WIZARD = { "type" : "boolean" } #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 */ diff --git a/bertos/drv/timer.h b/bertos/drv/timer.h index 9e3e2b30..5696823a 100644 --- a/bertos/drv/timer.h +++ b/bertos/drv/timer.h @@ -34,6 +34,12 @@ * * \version $Id$ * \author Bernie Innocenti + * + * $WIZARD_MODULE = { + * "name" : "timer", + * "depends" : [], + * "configuration" : "bertos/cfg/cfg_timer.h" + * } */ #ifndef DRV_TIMER_H