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. |
Struct for an exponential filter.
Definition at line 16 of file adc_internal.h.
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().
char ADCI_FILTER::coeff |
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().