|
static CCM_OPTIONAL FunctionalSensor | clt (SensorType::Clt, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | iat (SensorType::Iat, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | aux1 (SensorType::AuxTemp1, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | aux2 (SensorType::AuxTemp2, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | oilTempSensor (SensorType::OilTemperature, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | fuelTempSensor (SensorType::FuelTemperature, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | ambientTempSensor (SensorType::AmbientTemperature, MS2NT(10)) |
|
static CCM_OPTIONAL FunctionalSensor | compressorDischargeTemp (SensorType::CompressorDischargeTemperature, MS2NT(10)) |
|
static void | validateThermistorConfig (const char *msg, thermistor_conf_s &cfg) |
|
static SensorConverter & | configureTempSensorFunction (const char *msg, thermistor_conf_s &cfg, FuncPair &p, bool isLinear, bool isPulldown) |
|
static void | configTherm (const char *msg, FunctionalSensor &sensor, FuncPair &p, ThermistorConf &p_config, bool isLinear, bool isPulldown) |
|
static void | configureTempSensor (const char *msg, FunctionalSensor &sensor, FuncPair &p, ThermistorConf &p_config, bool isLinear, bool isPulldown=false) |
|
void | initThermistors () |
|
void | deinitThermistors () |
|
◆ ambientTempSensor()
◆ aux1()
◆ aux2()
◆ clt()
Referenced by canDashboardGenesisCoupe(), canDashboardNissanVQ(), canDashboardVAG(), canMazdaRX8(), WallFuelController::computeBeta(), WallFuelController::computeTau(), deinitThermistors(), AcController::getAcState(), getCltFuelCorrection(), getCltTimingCorrection(), ShortTermFuelTrim::getCorrectionState(), getCrankingFuel3(), IdleController::getCrankingOpenLoop(), IdleController::getCrankingTaperFraction(), IdleController::getIdlePosition(), LongTermIdleTrim::getLtitFactor(), IdleController::getOpenLoop(), PrimeController::getPrimeDuration(), IdleController::getRunningOpenLoop(), DfcoController::getState(), FanController::getState(), IdleController::getTargetRpm(), IFuelComputer::getTCharge(), initThermistors(), AntilagSystemBase::isALSMaxCLTCondition(), AntilagSystemBase::isALSMinCLTCondition(), LongTermIdleTrim::update(), NitrousController::updateCltConditionSatisfied(), VvlController::updateCltConditionSatisfied(), IdleController::updateLtit(), and updateTempSensors().
◆ compressorDischargeTemp()
◆ configTherm()
Definition at line 53 of file init_thermistors.cpp.
58 {
59
61 return;
62 }
63
64
66}
static Lps25Sensor sensor(device)
static SensorConverter & configureTempSensorFunction(const char *msg, thermistor_conf_s &cfg, FuncPair &p, bool isLinear, bool isPulldown)
Referenced by configureTempSensor().
◆ configureTempSensor()
Definition at line 68 of file init_thermistors.cpp.
73 {
75
76
78 return;
79 }
80
82
83
86}
static AdcSubscriptionEntry * SubscribeSensor(FunctionalSensorBase &sensor, adc_channel_e channel, float lowpassCutoffHZ, float voltsPerAdcVolt=0.0f)
static void configTherm(const char *msg, FunctionalSensor &sensor, FuncPair &p, ThermistorConf &p_config, bool isLinear, bool isPulldown)
Referenced by initThermistors().
◆ configureTempSensorFunction()
Definition at line 37 of file init_thermistors.cpp.
38 {
39 if (isLinear) {
41
42 return p.linear;
43 } else {
45
47 p.thermistor.get<
therm>().configure(cfg);
48
49 return p.thermistor;
50 }
51}
static void validateThermistorConfig(const char *msg, thermistor_conf_s &cfg)
Referenced by configTherm().
◆ deinitThermistors()
void deinitThermistors |
( |
| ) |
|
Definition at line 142 of file init_thermistors.cpp.
142 {
151}
static void UnsubscribeSensor(FunctionalSensorBase &sensor)
static constexpr engine_configuration_s * engineConfiguration
static CCM_OPTIONAL FunctionalSensor fuelTempSensor(SensorType::FuelTemperature, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor aux2(SensorType::AuxTemp2, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor compressorDischargeTemp(SensorType::CompressorDischargeTemperature, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor iat(SensorType::Iat, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor aux1(SensorType::AuxTemp1, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor ambientTempSensor(SensorType::AmbientTemperature, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor clt(SensorType::Clt, MS2NT(10))
static CCM_OPTIONAL FunctionalSensor oilTempSensor(SensorType::OilTemperature, MS2NT(10))
ThermistorConf fuelTempSensor
ThermistorConf auxTempSensor1
ThermistorConf compressorDischargeTemperature
ThermistorConf auxTempSensor2
ThermistorConf ambientTempSensor
ThermistorConf oilTempSensor
Referenced by stopSensors().
◆ fuelTempSensor()
◆ iat()
Referenced by deinitThermistors(), ThrottleModelBase::estimateThrottleFlow(), ThrottleModelBase::estimateThrottleFlow(), flowCorrections(), getAdvanceCorrections(), AlphaNAirmass::getAirmass(), getIatFuelCorrection(), IFuelComputer::getTCharge(), initThermistors(), ThrottleModelBase::partThrottleFlow(), ThrottleModelBase::throttlePositionForFlow(), and updateTempSensors().
◆ initThermistors()
Definition at line 88 of file init_thermistors.cpp.
88 {
96
103 }
104
109 false);
110
115 false);
116
121 false);
122
127 false);
128
133 false);
134
139 false);
140}
static void configureTempSensor(const char *msg, FunctionalSensor &sensor, FuncPair &p, ThermistorConf &p_config, bool isLinear, bool isPulldown=false)
Referenced by sensorStartUpOrReconfiguration().
◆ oilTempSensor()
◆ validateThermistorConfig()
◆ fambient
◆ faux1
◆ faux2
◆ fcdt
◆ fclt
◆ ffuel
◆ fiat
◆ foil
Go to the source code of this file.