Lines Matching refs:thresholdHigh
99 static void updateThresholds(int16_t thresholdHigh, int16_t thresholdLow);
102 static void setTempUpperLimit(int16_t thresholdHigh);
162 static void setTempUpperLimit(int16_t thresholdHigh) in setTempUpperLimit() argument
164 uint32_t temperatureCode = degreesToCode(thresholdHigh + DISTRIBUTION_OFFSET); in setTempUpperLimit()
168 currentThresholdHigh = thresholdHigh; in setTempUpperLimit()
232 nextThresholdHigh = Math_MIN(nextThresholdHigh, notifyObject->thresholdHigh); in setNextThresholds()
273 …rentTemperature <= notifyObject->thresholdLow || currentTemperature >= notifyObject->thresholdHigh) in walkNotifyList()
280 … : notifyObject->thresholdHigh; in walkNotifyList()
295 static void updateThresholds(int16_t thresholdHigh, int16_t thresholdLow) in updateThresholds() argument
297 if (thresholdHigh < currentThresholdHigh) in updateThresholds()
299 setTempUpperLimit(thresholdHigh); in updateThresholds()
407 int16_t thresholdHigh, in Temperature_registerNotifyHigh() argument
415 notifyObject->thresholdHigh = thresholdHigh; in Temperature_registerNotifyHigh()
431 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyHigh()
450 notifyObject->thresholdHigh = INVALID_TEMPERATURE_MAX; in Temperature_registerNotifyLow()
466 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyLow()
477 int16_t thresholdHigh, in Temperature_registerNotifyRange() argument
486 notifyObject->thresholdHigh = thresholdHigh; in Temperature_registerNotifyRange()
502 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyRange()