ADCI_FILTER Struct Reference

Struct for an exponential filter. More...

Data Fields

int average
 Current value of the filtered data.
char coeff
 each value added to the filter is divided by 2^coeff.
int count
 How many data have been added to the filter.

Detailed Description

Struct for an exponential filter.

Definition at line 16 of file adc_internal.h.


Field Documentation

Current value of the filtered data.

Definition at line 17 of file adc_internal.h.

Referenced by adci_efilter_add(), adci_get_raw(), adci_get_result(), and adci_init_channel().

each value added to the filter is divided by 2^coeff.

Definition at line 19 of file adc_internal.h.

Referenced by adci_efilter_add(), and adci_init_channel().

How many data have been added to the filter.

Definition at line 18 of file adc_internal.h.

Referenced by adci_efilter_add(), and adci_init_channel().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 29 16:36:15 2010 by  doxygen 1.6.3