cfg_adc.h File Reference

Configuration file for ADC module. More...

Go to the source code of this file.


Defines

#define ADC_LOG_LEVEL   LOG_LVL_INFO
 Module logging level.
#define ADC_LOG_FORMAT   LOG_FMT_VERBOSE
 Module logging format.
#define CONFIG_ADC_CLOCK   4800000UL
 ADC timing setting parameter.
#define CONFIG_ADC_AVR_REF   1
 ADC setting for AVR target.
#define CONFIG_ADC_STROBE   0
 Enable ADS strobe.

Detailed Description

Configuration file for ADC module.

Version:
Id
cfg_adc.h 1603 2008-08-10 17:18:44Z bernie
Author:
Daniele Basile <asterix@develer.com>

Definition in file cfg_adc.h.


Define Documentation

#define CONFIG_ADC_CLOCK   4800000UL

ADC timing setting parameter.

  • CONFIG_ADC_CLOCK is frequency clock for ADC conversion.
  • CONFIG_ADC_STARTUP_TIME minimum time for startup a conversion in micro second.
  • CONFIG_ADC_SHTIME minimum time for sample and hold in nano second.

Definition at line 56 of file cfg_adc.h.