heat control
r71
|
Go to the source code of this file.
Macros | |
#define | FIRST_ADC_INPUT 8 |
#define | LAST_ADC_INPUT 9 |
#define | ADC_TMP_INNER_ID 0 |
#define | ADC_TMP_OUTER_ID 1 |
#define | ADC_SUP_DIV_FCT 3.2414 |
#define | REV_CURRENT_VALUE 34 |
#define | RR_IN 33000 |
#define | RR_OUT 51500 |
#define | ADC_REF_VOLTAGE 4950 |
Functions | |
void | Init (void) |
#define ADC_REF_VOLTAGE 4950 |
ARV: calibrated adc reference voltage
Definition at line 42 of file init.h.
Referenced by CalcAdcTemp(), and CalcSupplyVoltage().
#define ADC_SUP_DIV_FCT 3.2414 |
temperature sender supply voltage divider factor
Definition at line 23 of file init.h.
Referenced by CalcSupplyVoltage().
#define ADC_TMP_INNER_ID 0 |
id of channel for inner temp
Definition at line 15 of file init.h.
Referenced by CalcAdcTemp(), main(), and ProcessNextConversion().
#define ADC_TMP_OUTER_ID 1 |
id of channel for outer temp / temperature sender supply voltage monitoring
Definition at line 19 of file init.h.
Referenced by main(), and ProcessNextConversion().
#define FIRST_ADC_INPUT 8 |
#define REV_CURRENT_VALUE 34 |
RCV: reverse constant thermistor current value [1/mA]
Definition at line 27 of file init.h.
Referenced by CalcAdcTemp().
#define RR_IN 33000 |
RRF: reference resistance @25°C of inner temp sensor
Definition at line 34 of file init.h.
Referenced by CalcAdcTemp().
#define RR_OUT 51500 |
RRO: reference resistance @25°C of outer temp sensor
Definition at line 38 of file init.h.
Referenced by CalcAdcTemp().
void Init | ( | void | ) |
main initialization routine
application dependent controller initialization
Definition at line 11 of file init.c.
References AC_SR, AdcInit(), CommInit(), MEASSET::forTemp, g_sets, MEASSET::inTemp, INVALID_VAL_I16, INVALID_VAL_U16, LcdInit(), NUM_MS, MEASSET::outTemp, SetupInit(), TimerInit(), and UCHAR.
Referenced by main().