From 0f21c96c6543fe117d047655f77eb7f9869dd020 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 6 Feb 2009 14:39:40 +0000 Subject: [PATCH] Fix, update and add wizart info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2303 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/buzzer.h | 14 ++++++++++---- bertos/drv/ntc.h | 8 +++++++- bertos/drv/pcf8574.h | 8 +++++++- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/bertos/drv/buzzer.h b/bertos/drv/buzzer.h index f82f5554..6f9815ce 100644 --- a/bertos/drv/buzzer.h +++ b/bertos/drv/buzzer.h @@ -36,6 +36,12 @@ * \author Bernie Innocenti * * \brief Buzzer driver + * + * $WIZARD = { + * "name" : "buzzer" + * "depends" : [], + * "configuration" : "" + * } */ #ifndef DRV_BUZZER_H @@ -43,9 +49,9 @@ #include -extern void buz_init(void); -extern void buz_beep(mtime_t time); -extern void buz_repeat_start(mtime_t duration, mtime_t interval); -extern void buz_repeat_stop(void); +void buz_init(void); +void buz_beep(mtime_t time); +void buz_repeat_start(mtime_t duration, mtime_t interval); +void buz_repeat_stop(void); #endif /* DRV_BUZZER_H */ diff --git a/bertos/drv/ntc.h b/bertos/drv/ntc.h index 6aa72376..ad370e91 100644 --- a/bertos/drv/ntc.h +++ b/bertos/drv/ntc.h @@ -36,13 +36,19 @@ * * \author Giovanni Bajo * \author Francesco Sacchi + * + * $WIZARD_MODULE = { + * "name" : "ntc", + * "depends" : ["adc"], + * "configuration" : "" + * } */ #ifndef DRV_NTC_H #define DRV_NTC_H #include "hw/ntc_map.h" -#include + #include #define NTC_OPEN_CIRCUIT -32768 diff --git a/bertos/drv/pcf8574.h b/bertos/drv/pcf8574.h index bde525c5..687dfa23 100644 --- a/bertos/drv/pcf8574.h +++ b/bertos/drv/pcf8574.h @@ -30,10 +30,16 @@ * * --> * - * \brief PCF8574 i2c port expander driver (interface). + * \brief PCF8574 i2c port expander driver. * * \version $Id: ft245rl.c 22301 2008-09-09 16:53:17Z batt $ * \author Francesco Sacchi + * + * $WIZARD_MODULE = { + * "name" : "pcf8574", + * "depends" : [], + * "configuration" : "" + * } */ #ifndef DRV_PCF8574_H -- 2.25.1