X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_pwm.h;h=68d62837c8ee73db35a3bf91e60acc068f465558;hb=b9e1e52093d33494bf4a8ca27c14a56a25b6e0bc;hp=072f9b6d36889daca8c007745f34795cdb27b461;hpb=515886be3106584a6d695d4b5453730121b91f74;p=bertos.git diff --git a/bertos/cfg/cfg_pwm.h b/bertos/cfg/cfg_pwm.h index 072f9b6d..68d62837 100644 --- a/bertos/cfg/cfg_pwm.h +++ b/bertos/cfg/cfg_pwm.h @@ -31,17 +31,34 @@ * * \brief Configuration file for PWM module. * - * \version $Id$ * \author Daniele Basile */ #ifndef CFG_PWM_H #define CFG_PWM_H -/// Module logging level. +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ #define PWM_LOG_LEVEL LOG_LVL_INFO -/// Module logging format. +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ #define PWM_LOG_FORMAT LOG_FMT_VERBOSE +/** + * Enable the OLD pwm API. + * Not recommended for new projects. + * + * $WIZ$ type = "boolean" + */ +#define CFG_PWM_ENABLE_OLD_API 1 + #endif /* CFG_PWM_H */