yarf 0.1
Yet Another RepRap Firmware
|
Declaration of a datastructure representing a heater. More...
Data Fields | |
pid_t | pid |
PID algorithm instance that determines the amount of power to apply to the heater. | |
float | max_temp |
Absolute maximum temperature the heater can be set to, in degrees celsius. | |
void(* | set_power )(uint8_t dc) |
Pointer to a function that sets the relative amount of power applied to the heater. | |
volatile uint16_t | current_adc |
Last measured ADC value from the thermistor measuring the heater's temperature. | |
volatile float | current_temp |
Last measured temperature of the heater (based on current_adc). | |
uint8_t | current_power |
The relative amount of power currently applied to the heater (from 0 to 255). |
Declaration of a datastructure representing a heater.
Definition at line 52 of file temperature.c.
volatile uint16_t heater::current_adc |
Last measured ADC value from the thermistor measuring the heater's temperature.
Definition at line 56 of file temperature.c.
uint8_t heater::current_power |
The relative amount of power currently applied to the heater (from 0 to 255).
Definition at line 58 of file temperature.c.
volatile float heater::current_temp |
Last measured temperature of the heater (based on current_adc).
Definition at line 57 of file temperature.c.
float heater::max_temp |
Absolute maximum temperature the heater can be set to, in degrees celsius.
Definition at line 54 of file temperature.c.
PID algorithm instance that determines the amount of power to apply to the heater.
Definition at line 53 of file temperature.c.
void(* heater::set_power)(uint8_t dc) |
Pointer to a function that sets the relative amount of power applied to the heater.
Definition at line 55 of file temperature.c.