![]() |
![]() |
Temperature notify object structure. More...
#include <Temperature.h>

Data Fields | |
| List_Elem | link |
| Temperature_NotifyFxn | notifyFxn |
| int16_t | thresholdHigh |
| int16_t | thresholdLow |
| uintptr_t | clientArg |
| bool | isRegistered |
Temperature notify object structure.
This structure specification is for internal use. Notification clients must pre-allocate a notify object when registering for a notification; Temperature_registerNotifyHigh(), Temperature_registerNotifyLow(), or Temperature_registerNotifyRange() will take care initializing the internal elements appropriately.
| List_Elem Temperature_NotifyObj::link |
For placing on the notify list
| Temperature_NotifyFxn Temperature_NotifyObj::notifyFxn |
Application callback function
| int16_t Temperature_NotifyObj::thresholdHigh |
High threshold in degrees C
| int16_t Temperature_NotifyObj::thresholdLow |
Low threshold in degrees C
| uintptr_t Temperature_NotifyObj::clientArg |
Application provided arg
| bool Temperature_NotifyObj::isRegistered |
Is the notification active