Lines Matching refs:thresholdLow

104 static void updateThresholds(int16_t thresholdHigh, int16_t thresholdLow);
106 static void setTempLowerLimit(int16_t thresholdLow);
200 static void setTempLowerLimit(int16_t thresholdLow) { in setTempLowerLimit() argument
201 uint32_t temperatureCode = degreesToCode(thresholdLow - DISTRIBUTION_OFFSET); in setTempLowerLimit()
205 currentThresholdLow = thresholdLow; in setTempLowerLimit()
280 notifyObject->thresholdLow); in setNextThresholds()
318 if (currentTemperature <= notifyObject->thresholdLow || in walkNotifyList()
324 int16_t threshold = (currentTemperature <= notifyObject->thresholdLow) ? in walkNotifyList()
325 notifyObject->thresholdLow : notifyObject->thresholdHigh; in walkNotifyList()
343 static void updateThresholds(int16_t thresholdHigh, int16_t thresholdLow) { in updateThresholds() argument
349 if (thresholdLow > currentThresholdLow) { in updateThresholds()
350 setTempLowerLimit(thresholdLow); in updateThresholds()
450 notifyObject->thresholdLow = INVALID_TEMPERATURE_MIN; in Temperature_registerNotifyHigh()
464 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyHigh()
475 int16_t thresholdLow, in Temperature_registerNotifyLow() argument
483 notifyObject->thresholdLow = thresholdLow; in Temperature_registerNotifyLow()
497 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyLow()
509 int16_t thresholdLow, in Temperature_registerNotifyRange() argument
517 notifyObject->thresholdLow = thresholdLow; in Temperature_registerNotifyRange()
531 updateThresholds(notifyObject->thresholdHigh, notifyObject->thresholdLow); in Temperature_registerNotifyRange()