blob: a6402cf16068f4826811f493c3af5b2c98148ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef CONTROLLER_TEMP_H_
#define CONTROLLER_TEMP_H_
#include "util.h"
#include "fixpt.h"
#define CONTRTEMP_NEGLIM 0.0
#define CONTRTEMP_POSLIM 480.0
void contrtemp_set_feedback(fixpt_t r);
fixpt_t contrtemp_get_feedback(void);
void contrtemp_set_setpoint(fixpt_t w);
fixpt_t contrtemp_get_setpoint(void);
void contrtemp_set_enabled(bool enabled);
void contrtemp_set_emerg(bool emergency);
bool contrtemp_in_emerg(void);
bool contrtemp_is_heating_up(void);
bool contrtemp_boost_enabled(void);
void contrtemp_init(void);
#endif /* CONTROLLER_TEMP_H_ */
|