2020-02-15 01:04:40 +01:00
|
|
|
/* Reflow Oven Controller
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Mario Hüttel <mario.huettel@gmx.net>
|
|
|
|
*
|
2020-02-15 22:09:55 +01:00
|
|
|
* This file is part of the Reflow Oven Controller Project.
|
2020-02-15 01:04:40 +01:00
|
|
|
*
|
|
|
|
* The reflow oven controller is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* GDSII-Converter is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2020-02-15 22:09:55 +01:00
|
|
|
* along with the reflow oven controller project.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
2020-02-15 01:04:40 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CALIBRATION_H__
|
|
|
|
#define __CALIBRATION_H__
|
|
|
|
|
2020-11-01 20:58:32 +01:00
|
|
|
#define CALIBRATION_MAX_NOISE_OHM 3.0f
|
2020-02-15 01:04:40 +01:00
|
|
|
|
|
|
|
#include <stdint.h>
|
2020-02-15 17:53:15 +01:00
|
|
|
#include <shellmatta.h>
|
2020-02-15 01:04:40 +01:00
|
|
|
|
|
|
|
void calibration_calculate(float low_measured, float low_setpoint, float high_measured, float high_setpoint,
|
2020-11-15 23:36:52 +01:00
|
|
|
float *sens_deviation, float *offset);
|
2020-02-15 01:04:40 +01:00
|
|
|
|
2020-05-11 21:59:08 +02:00
|
|
|
float *calibration_acquire_data_start(uint32_t count, volatile int *flag);
|
2020-02-15 17:53:15 +01:00
|
|
|
|
2020-05-11 21:59:08 +02:00
|
|
|
shellmatta_retCode_t calibration_sequence_shell_cmd(shellmatta_handle_t shell, const char *arg, uint32_t len);
|
2020-02-15 01:04:40 +01:00
|
|
|
|
|
|
|
#endif /* __CALIBRATION_H__ */
|