X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_adc.h;h=26254a41573899b5b6834a8829e81b8566172514;hb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;hp=201616e7abd74bd4acb302be72ca50d888dd91d0;hpb=e0960b1b787503b712e42776f980d792836992fd;p=bertos.git diff --git a/bertos/cfg/cfg_adc.h b/bertos/cfg/cfg_adc.h index 201616e7..26254a41 100644 --- a/bertos/cfg/cfg_adc.h +++ b/bertos/cfg/cfg_adc.h @@ -40,6 +40,23 @@ #ifndef CFG_ADC_H #define CFG_ADC_H +/** + * Logging level definition. + * + * Use 0 to log only the error messages + * Use 1 to log the error and warning messages + * Use 2 to log all messages + */ +#define ADC_LOG_LEVEL 2 + +/** + * Set logging verbosity. + * + * If verbosity is zero print short log messages. + */ +#define ADC_LOG_VERBOSITY 1 + + /** * ADC timing setting parameter * @@ -57,8 +74,6 @@ #define CONFIG_ADC_AVR_REF 1 #define CONFIG_ADC_AVR_DIVISOR 2 - - /// Enable ADS strobe. #define CONFIG_ADC_STROBE 0