thermo.c File Reference
Thermo-control driver. More...
#include "hw/thermo_map.h"
#include "hw/hw_thermo.h"
#include "cfg/cfg_thermo.h"
#include <cfg/module.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <drv/thermo.h>
#include <drv/timer.h>
#include <drv/ntc.h>
Go to the source code of this file.
Functions | |
| thermostatus_t | thermo_status (ThermoDev dev) |
| Return the status of the specific dev thermo-device. | |
| static void | thermo_do (ThermoDev index) |
| Do a single thermo control for device dev. | |
| static void | thermo_softint (void) |
| Thermo soft interrupt. | |
| void | thermo_setTarget (ThermoDev dev, deg_t temperature) |
| Set the target temperature temperature for a specific dev thermo-device. | |
| void | thermo_start (ThermoDev dev) |
| Starts a thermo-regulation for channel dev. | |
| void | thermo_stop (ThermoDev dev) |
| Stops a thermo-regulation for channel dev. | |
| void | thermo_clearErrors (ThermoDev dev) |
| Clear errors for channel dev. | |
| deg_t | thermo_readTemperature (ThermoDev dev) |
| Read the temperature of the thermo-device dev using mobile mean. | |
| void | thermo_init (void) |
| Init thermo-control and associated hw. | |
Variables | |
| static Timer | thermo_timer |
| Timer for thermo-regulation. | |
| ThermoControlDev | devs [THERMO_CNT] |
| Array of thermo-devices. | |
Detailed Description
Thermo-control driver.
- Version:
- Id
- thermo.c 2506 2009-04-15 08:29:07Z duplo
Definition in file thermo.c.
Function Documentation
| deg_t thermo_readTemperature | ( | ThermoDev | dev | ) |
| void thermo_setTarget | ( | ThermoDev | dev, | |
| deg_t | temperature | |||
| ) |
| void thermo_start | ( | ThermoDev | dev | ) |
| thermostatus_t thermo_status | ( | ThermoDev | dev | ) |
| void thermo_stop | ( | ThermoDev | dev | ) |
Variable Documentation
Timer thermo_timer [static] |
