Prusa MINI Firmware overview
|
Go to the source code of this file.
Classes | |
struct | PID_t |
struct | PIDC_t |
struct | TempInfo |
struct | HeaterInfo |
struct | PIDHeaterInfo< T > |
struct | heater_idle_t |
struct | heater_watch_t |
struct | raw_range_t |
struct | celsius_range_t |
struct | temp_range_t |
class | Temperature |
Typedefs | |
typedef PID_t | hotend_pid_t |
typedef struct TempInfo | temp_info_t |
typedef HeaterInfo | heater_info_t |
typedef heater_info_t | hotend_info_t |
Enumerations | |
enum | heater_ind_t : int8_t { INDEX_NONE = -4, H_REDUNDANT, H_CHAMBER, H_BED, H_E0, H_E1, H_E2, H_E3, H_E4, H_E5 } |
enum | ADCSensorState : char { StartSampling, SensorsReady, StartupDelay } |
Variables | |
Temperature | thermalManager |
#define SOFT_PWM_SCALE 0 |
Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program 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 this program. If not, see http://www.gnu.org/licenses/. temperature.h - temperature controller
#define HOTEND_INDEX 0 |
#define E_NAME |
#define DUMMY_PID_VALUE 3000.0f |
#define _PID_Kp | ( | H | ) | DUMMY_PID_VALUE |
#define _PID_Ki | ( | H | ) | DUMMY_PID_VALUE |
#define _PID_Kd | ( | H | ) | DUMMY_PID_VALUE |
#define _PID_Kc | ( | H | ) | 1 |
#define MIN_ADC_ISR_LOOPS 10 |
#define ACTUAL_ADC_SAMPLES _MAX(int(MIN_ADC_ISR_LOOPS), int(SensorsReady)) |
#define PID_K2 (1-float(PID_K1)) |
#define PID_dT ((OVERSAMPLENR * float(ACTUAL_ADC_SAMPLES)) / TEMP_TIMER_FREQUENCY) |
#define scalePID_d | ( | d | ) | ( float(d) / PID_dT ) |
#define unscalePID_d | ( | d | ) | ( float(d) * PID_dT ) |
#define G26_CLICK_CAN_CANCEL (HAS_LCD_MENU && ENABLED(G26_MESH_VALIDATION)) |
#define THERMISTOR_ADC_RESOLUTION 1024 |
#define THERMISTOR_ABS_ZERO_C -273.15f |
#define THERMISTOR_RESISTANCE_NOMINAL_C 25.0f |
#define is_preheating | ( | n | ) | (false) |
Preheating hotends
#define HAS_MAX6675 EITHER(HEATER_0_USES_MAX6675, HEATER_1_USES_MAX6675) |
#define COUNT_6675 1 |
#define READ_MAX6675 | ( | N | ) | read_max6675() |
#define HAS_THERMAL_PROTECTION (EITHER(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_CHAMBER) || HAS_THERMALLY_PROTECTED_BED) |
typedef PID_t hotend_pid_t |
typedef struct TempInfo temp_info_t |
typedef HeaterInfo heater_info_t |
typedef heater_info_t hotend_info_t |
enum heater_ind_t : int8_t |
enum ADCSensorState : char |
Temperature thermalManager |