yarf 0.1
Yet Another RepRap Firmware
|
The temperature component manages the temperature of the nozzle and the printbed. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | temp_init (void) |
Initializes the temperature component. | |
void | temp_set_nozzle_target (float c) |
Sets the target temperature of the nozzle. | |
float | temp_get_nozzle_temp (void) |
Returns the last measured temperature of the nozzle in degrees Celsius. | |
uint8_t | temp_get_nozzle_power (void) |
Returns the relative amount of power applied to the nozzle's heater. | |
bool | temp_nozzle_temperature_reached (void) |
Returns whether the nozzle's target temperature has been reached. | |
void | temp_nozzle_temperature_wait (void) |
Blocks until the nozzle's target temperature has been reached. | |
void | temp_set_printbed_target (float c) |
Sets the target temperature of the printbed. | |
float | temp_get_printbed_temp (void) |
Returns the last measured temperature of the printbed in degrees Celsius. | |
uint8_t | temp_get_printbed_power (void) |
Returns the relative amount of power applied to the printbed's heater. | |
bool | temp_printbed_temperature_reached (void) |
Returns whether the printbed's target temperature has been reached. | |
void | temp_printbed_temperature_wait (void) |
Blocks until the printbed's target temperature has been reached. |
The temperature component manages the temperature of the nozzle and the printbed.
Definition in file temperature.h.
uint8_t temp_get_nozzle_power | ( | void | ) |
Returns the relative amount of power applied to the nozzle's heater.
Definition at line 323 of file temperature.c.
float temp_get_nozzle_temp | ( | void | ) |
Returns the last measured temperature of the nozzle in degrees Celsius.
Definition at line 309 of file temperature.c.
uint8_t temp_get_printbed_power | ( | void | ) |
Returns the relative amount of power applied to the printbed's heater.
Definition at line 357 of file temperature.c.
float temp_get_printbed_temp | ( | void | ) |
Returns the last measured temperature of the printbed in degrees Celsius.
Definition at line 350 of file temperature.c.
void temp_init | ( | void | ) |
Initializes the temperature component.
The nozzle and printbed target temperatures are set to INITIAL_TARGET_TEMP_C.
Definition at line 280 of file temperature.c.
bool temp_nozzle_temperature_reached | ( | void | ) |
Returns whether the nozzle's target temperature has been reached.
Definition at line 329 of file temperature.c.
bool temp_printbed_temperature_reached | ( | void | ) |
Returns whether the printbed's target temperature has been reached.
Definition at line 363 of file temperature.c.
void temp_set_nozzle_target | ( | float | c | ) |
Sets the target temperature of the nozzle.
c | the target temperature of the nozzle in degrees Celsius. |
Definition at line 302 of file temperature.c.
void temp_set_printbed_target | ( | float | c | ) |
Sets the target temperature of the printbed.
c | the target temperature of the printbed in degrees Celsius. |
Definition at line 343 of file temperature.c.