2014-08-29 07:52:33 -07:00
|
|
|
/**
|
|
|
|
* @file map_averaging.h
|
|
|
|
*
|
|
|
|
* @date Dec 11, 2013
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ADC_AVERAGING_H_
|
|
|
|
#define ADC_AVERAGING_H_
|
|
|
|
|
2014-12-10 09:03:39 -08:00
|
|
|
#include "engine.h"
|
2014-08-29 07:52:33 -07:00
|
|
|
|
2014-12-23 20:03:31 -08:00
|
|
|
#if HAL_USE_ADC || defined(__DOXYGEN__)
|
|
|
|
|
2014-08-29 07:52:33 -07:00
|
|
|
void mapAveragingCallback(adcsample_t newValue);
|
2014-12-10 09:03:39 -08:00
|
|
|
void initMapAveraging(Engine *engine);
|
2014-08-29 07:52:33 -07:00
|
|
|
|
2014-12-23 20:03:31 -08:00
|
|
|
#endif
|
|
|
|
|
2014-08-29 07:52:33 -07:00
|
|
|
#endif /* ADC_AVERAGING_H_ */
|