BeRTOS
|
thermo hardware-specific control functions. More...
Go to the source code of this file.
Functions | |
deg_t | thermo_hw_tolerance (ThermoDev dev) |
This function should return the temperature set tolerance. | |
deg_t | thermo_hw_read (ThermoDev dev) |
Read the temperature of the hw device dev. | |
void | thermo_hw_off (ThermoDev dev) |
Turns off a specific device. | |
void | thermo_hw_set (ThermoDev dev, deg_t target, deg_t cur_temp) |
Based on the current temperature cur_temp and the target temperature target, this function turns on and off specific thermo device. | |
void | _thermo_hw_init (void) |
Init hw associated with thermo-control. |
thermo hardware-specific control functions.
Definition in file hw_thermo.h.
void thermo_hw_off | ( | ThermoDev | dev | ) | [inline] |
Turns off a specific device.
This function is usefull to handle errors.
Definition at line 79 of file hw_thermo.h.
void thermo_hw_set | ( | ThermoDev | dev, |
deg_t | target, | ||
deg_t | cur_temp | ||
) | [inline] |
Based on the current temperature cur_temp and the target temperature target, this function turns on and off specific thermo device.
It may use also PID control for thermo-regolations.
Definition at line 90 of file hw_thermo.h.