From 702bedb30a235a64f61f1d06653f8b22e39b5c5f Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 5 Feb 2009 11:48:07 +0000 Subject: [PATCH] Add wizard info for timer. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2266 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_timer.h | 13 +++++++++---- bertos/drv/timer.h | 6 ++++++ 2 files changed, 15 insertions(+), 4 deletions(-) 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 -- 2.25.1