Home
last modified time | relevance | path

Searched refs:notifyObject (Results 1 – 11 of 11) sorted by relevance

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/batterymonitor/
DBatteryMonitorLPF3.c195 BatteryMonitor_NotifyObj *notifyObject = (BatteryMonitor_NotifyObj *)notifyLink; in setNextThresholds() local
197 nextThresholdHigh = Math_MIN(nextThresholdHigh, notifyObject->thresholdHigh); in setNextThresholds()
198 nextThresholdLow = Math_MAX(nextThresholdLow, notifyObject->thresholdLow); in setNextThresholds()
224 BatteryMonitor_NotifyObj *notifyObject = (BatteryMonitor_NotifyObj *)notifyLink; in walkNotifyList() local
237 … if (currentVoltage <= notifyObject->thresholdLow || currentVoltage >= notifyObject->thresholdHigh) in walkNotifyList()
243 … uint16_t threshold = (currentVoltage <= notifyObject->thresholdLow) ? notifyObject->thresholdLow in walkNotifyList()
244 … : notifyObject->thresholdHigh; in walkNotifyList()
247 notifyObject->isRegistered = false; in walkNotifyList()
249notifyObject->notifyFxn(currentVoltage, threshold, notifyObject->clientArg, notifyObject); in walkNotifyList()
358 int_fast16_t BatteryMonitor_registerNotifyHigh(BatteryMonitor_NotifyObj *notifyObject, in BatteryMonitor_registerNotifyHigh() argument
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/temperature/
DTemperatureLPF3.c111 Temperature_NotifyObj *notifyObject);
230 Temperature_NotifyObj *notifyObject = (Temperature_NotifyObj *)notifyLink; in setNextThresholds() local
232 nextThresholdHigh = Math_MIN(nextThresholdHigh, notifyObject->thresholdHigh); in setNextThresholds()
233 nextThresholdLow = Math_MAX(nextThresholdLow, notifyObject->thresholdLow); in setNextThresholds()
260 Temperature_NotifyObj *notifyObject = (Temperature_NotifyObj *)notifyLink; in walkNotifyList() local
273 …if (currentTemperature <= notifyObject->thresholdLow || currentTemperature >= notifyObject->thresh… in walkNotifyList()
279 …int16_t threshold = (currentTemperature <= notifyObject->thresholdLow) ? notifyObject->thresholdLow in walkNotifyList()
280 … : notifyObject->thresholdHigh; in walkNotifyList()
283 notifyObject->isRegistered = false; in walkNotifyList()
285notifyObject->notifyFxn(currentTemperature, threshold, notifyObject->clientArg, notifyObject); in walkNotifyList()
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/temperature/
DTemperatureCC26X2.c275 Temperature_NotifyObj* notifyObject = (Temperature_NotifyObj *)notifyLink; in setNextThresholds() local
278 notifyObject->thresholdHigh); in setNextThresholds()
280 notifyObject->thresholdLow); in setNextThresholds()
305 Temperature_NotifyObj* notifyObject = (Temperature_NotifyObj *)notifyLink; in walkNotifyList() local
318 if (currentTemperature <= notifyObject->thresholdLow || in walkNotifyList()
319 currentTemperature >= notifyObject->thresholdHigh) { in walkNotifyList()
324 int16_t threshold = (currentTemperature <= notifyObject->thresholdLow) ? in walkNotifyList()
325 notifyObject->thresholdLow : notifyObject->thresholdHigh; in walkNotifyList()
328 notifyObject->isRegistered = false; in walkNotifyList()
330 notifyObject->notifyFxn(currentTemperature, in walkNotifyList()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/
DBatteryMonitor.h291 BatteryMonitor_NotifyObj *notifyObject);
356 int_fast16_t BatteryMonitor_registerNotifyHigh(BatteryMonitor_NotifyObj *notifyObject,
387 int_fast16_t BatteryMonitor_registerNotifyLow(BatteryMonitor_NotifyObj *notifyObject,
424 int_fast16_t BatteryMonitor_registerNotifyRange(BatteryMonitor_NotifyObj *notifyObject,
445 int_fast16_t BatteryMonitor_unregisterNotify(BatteryMonitor_NotifyObj *notifyObject);
461 static inline uint16_t BatteryMonitor_getThresholdHigh(BatteryMonitor_NotifyObj *notifyObject) in BatteryMonitor_getThresholdHigh() argument
463 return notifyObject->thresholdHigh; in BatteryMonitor_getThresholdHigh()
480 static inline uint16_t BatteryMonitor_getThresholdLow(BatteryMonitor_NotifyObj *notifyObject) in BatteryMonitor_getThresholdLow() argument
482 return notifyObject->thresholdLow; in BatteryMonitor_getThresholdLow()
504 static inline void BatteryMonitor_getThresholdRange(BatteryMonitor_NotifyObj *notifyObject, in BatteryMonitor_getThresholdRange() argument
[all …]
DTemperature.c46 int16_t Temperature_getThresholdHigh(Temperature_NotifyObj *notifyObject) in Temperature_getThresholdHigh() argument
48 return notifyObject->thresholdHigh; in Temperature_getThresholdHigh()
54 int16_t Temperature_getThresholdLow(Temperature_NotifyObj *notifyObject) in Temperature_getThresholdLow() argument
56 return notifyObject->thresholdLow; in Temperature_getThresholdLow()
62 void Temperature_getThresholdRange(Temperature_NotifyObj *notifyObject, int16_t *thresholdHigh, int… in Temperature_getThresholdRange() argument
64 *thresholdHigh = notifyObject->thresholdHigh; in Temperature_getThresholdRange()
65 *thresholdLow = notifyObject->thresholdLow; in Temperature_getThresholdRange()
71 uintptr_t Temperature_getClientArg(Temperature_NotifyObj *notifyObject) in Temperature_getClientArg() argument
73 return notifyObject->clientArg; in Temperature_getClientArg()
79 Temperature_NotifyFxn Temperature_getNotifyFxn(Temperature_NotifyObj *notifyObject) in Temperature_getNotifyFxn() argument
[all …]
DTemperature.h310 Temperature_NotifyObj *notifyObject);
377 int_fast16_t Temperature_registerNotifyHigh(Temperature_NotifyObj *notifyObject,
409 int_fast16_t Temperature_registerNotifyLow(Temperature_NotifyObj *notifyObject,
445 int_fast16_t Temperature_registerNotifyRange(Temperature_NotifyObj *notifyObject,
467 int_fast16_t Temperature_unregisterNotify(Temperature_NotifyObj *notifyObject);
483 int16_t Temperature_getThresholdHigh(Temperature_NotifyObj *notifyObject);
499 int16_t Temperature_getThresholdLow(Temperature_NotifyObj *notifyObject);
519 void Temperature_getThresholdRange(Temperature_NotifyObj *notifyObject, int16_t *thresholdHigh, int…
531 uintptr_t Temperature_getClientArg(Temperature_NotifyObj *notifyObject);
543 Temperature_NotifyFxn Temperature_getNotifyFxn(Temperature_NotifyObj *notifyObject);
/hal_ti-latest/simplelink/source/ti/drivers/
DTemperature.c46 int16_t Temperature_getThresholdHigh(Temperature_NotifyObj *notifyObject) { in Temperature_getThresholdHigh() argument
47 return notifyObject->thresholdHigh; in Temperature_getThresholdHigh()
53 int16_t Temperature_getThresholdLow(Temperature_NotifyObj *notifyObject) { in Temperature_getThresholdLow() argument
54 return notifyObject->thresholdLow; in Temperature_getThresholdLow()
60 void Temperature_getThresholdRange(Temperature_NotifyObj *notifyObject, in Temperature_getThresholdRange() argument
63 *thresholdHigh = notifyObject->thresholdHigh; in Temperature_getThresholdRange()
64 *thresholdLow = notifyObject->thresholdLow; in Temperature_getThresholdRange()
70 uintptr_t Temperature_getClientArg(Temperature_NotifyObj *notifyObject) { in Temperature_getClientArg() argument
71 return notifyObject->clientArg; in Temperature_getClientArg()
77 Temperature_NotifyFxn Temperature_getNotifyFxn(Temperature_NotifyObj *notifyObject) { in Temperature_getNotifyFxn() argument
[all …]
DTemperature.h310 Temperature_NotifyObj *notifyObject);
374 int_fast16_t Temperature_registerNotifyHigh(Temperature_NotifyObj *notifyObject,
406 int_fast16_t Temperature_registerNotifyLow(Temperature_NotifyObj *notifyObject,
442 int_fast16_t Temperature_registerNotifyRange(Temperature_NotifyObj *notifyObject,
465 int_fast16_t Temperature_unregisterNotify(Temperature_NotifyObj *notifyObject);
481 int16_t Temperature_getThresholdHigh(Temperature_NotifyObj *notifyObject);
497 int16_t Temperature_getThresholdLow(Temperature_NotifyObj *notifyObject);
517 void Temperature_getThresholdRange(Temperature_NotifyObj *notifyObject,
531 uintptr_t Temperature_getClientArg(Temperature_NotifyObj *notifyObject);
543 Temperature_NotifyFxn Temperature_getNotifyFxn(Temperature_NotifyObj *notifyObject);
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/power/
DPowerCC23X0.c82 Temperature_NotifyObj *notifyObject);
1342 Temperature_NotifyObj *notifyObject) in PowerCC23X0_hfxtCompensateFxn() argument
1387 Temperature_registerNotifyRange(notifyObject, in PowerCC23X0_hfxtCompensateFxn()
1402 Temperature_registerNotifyHigh(notifyObject, in PowerCC23X0_hfxtCompensateFxn()
/hal_ti-latest/simplelink/source/ti/drivers/power/
DPowerCC26X2.c89 Temperature_NotifyObj *notifyObject);
1139 Temperature_NotifyObj *notifyObject) { in hposcRtcCompensateFxn() argument
1148 status = Temperature_registerNotifyRange(notifyObject, in hposcRtcCompensateFxn()
/hal_ti-latest/simplelink/source/ti/drivers/rf/
DRFCC26X2_multiMode.c425 static int_fast16_t (*pfnTemperatureUnregisterNotify)(Temperature_NotifyObj *notifyObject) = NULL;
529 Temperature_NotifyObj *notifyObject);