/* Reflow Oven Controller * * Copyright (C) 2020 Mario Hüttel * * 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. * * The Reflow Oven Control Firmware 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 * along with the reflow oven controller project. * If not, see . */ #ifndef __OVEN_DRIVER_H__ #define __OVEN_DRIVER_H__ #include #include #include enum oven_pid_status {OVEN_PID_DEACTIVATED, OVEN_PID_RUNNING, OVEN_PID_ABORTED}; void oven_driver_init(void); void oven_driver_set_power(uint8_t power); void oven_driver_disable(void); void oven_pid_init(struct pid_controller *controller_to_copy); void oven_pid_handle(void); void oven_pid_stop(void); void oven_pid_abort(void); void oven_pid_set_target_temperature(float temp); void oven_driver_apply_power_level(void); enum oven_pid_status oven_pid_get_status(void); #endif /* __OVEN_DRIVER_H__ */