reflow-oven-control-sw/stm-firmware/include/reflow-controller/calibration.h

37 lines
1.3 KiB
C
Raw Permalink Normal View History

/* 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.
*
* 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/>.
*/
#ifndef __CALIBRATION_H__
#define __CALIBRATION_H__
2020-11-01 20:58:32 +01:00
#define CALIBRATION_MAX_NOISE_OHM 3.0f
#include <stdint.h>
2020-02-15 17:53:15 +01:00
#include <shellmatta.h>
void calibration_calculate(float low_measured, float low_setpoint, float high_measured, float high_setpoint,
float *sens_deviation, float *offset);
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);
#endif /* __CALIBRATION_H__ */