delete duplicate arm_math.h and fix doxygen docu for adc_meas

This commit is contained in:
Mario Hüttel 2020-02-02 00:46:12 +01:00
parent e091ccf19c
commit f9eb3c676b
2 changed files with 21 additions and 7309 deletions

View File

@ -3,11 +3,29 @@
#include <stdbool.h>
#include <stdint.h>
/**
* @brief Moving average filter coefficient for PT1000 measurement
*/
#define ADC_PT1000_FILTER_WEIGHT 0.005f
/**
* @brief ADC channel number of PT1000 sensor input
*/
#define ADC_PT1000_CHANNEL 2
/**
* @brief Lower value for valid input range for PT1000 measurement
*
* If the input of the PT1000 sensor is below this value, an error is thrown. This is used to disable the temperature control loop
*/
#define ADC_PT1000_LOWER_WATCHDOG 100
#define ADC_PT1000_HIGHER_WATCHDOG 4000
/**
* @brief Upper value for valid input range for PT1000 measurement
*
* If the input of the PT1000 sensor is above this value, an error is thrown. This is used to disable the temperature control loop
*/
#define ADC_PT1000_UPPER_WATCHDOG 4000
enum adc_p1000_error {ADC_PT1000_NO_ERR= 0, ADC_PT1000_WATCHDOG_ERROR=-1, ADC_PT1000_OVERFLOW=2};
@ -39,7 +57,7 @@ void adc_pt1000_set_moving_average_filter_param(float alpha);
* @brief Set the calibration data for the PT1000 measurement
*
* The resulting resistance reading is
* \f$R_{corrected} = \sigma R_{raw} + O\f$
* \f$R_{corrected} = (1 + \sigma) R_{raw} + O\f$
*
* @param offset Offset \f$O\f$
* @param sensitivity_deviation Sensitivity Deviation \f$\sigma\f$ after offset correction

File diff suppressed because it is too large Load Diff