Home
last modified time | relevance | path

Searched refs:notifyElement (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/power_manager/core/
Dfsl_pm_core.c469 status_t PM_RegisterNotify(pm_notify_group_t groupId, pm_notify_element_t *notifyElement) in PM_RegisterNotify() argument
471 assert(notifyElement != NULL); in PM_RegisterNotify()
476 (list_element_handle_t) & (notifyElement->link)) != kLIST_Ok) in PM_RegisterNotify()
491 void PM_UpdateNotify(void *notifyElement, pm_notify_callback_func_t callback, void *data) in PM_UpdateNotify() argument
498 ((pm_notify_element_t *)notifyElement)->data = data; in PM_UpdateNotify()
499 ((pm_notify_element_t *)notifyElement)->notifyCallback = callback; in PM_UpdateNotify()
512 status_t PM_UnregisterNotify(void *notifyElement) in PM_UnregisterNotify() argument
521 …if (LIST_RemoveElement((list_element_handle_t) & (((pm_notify_element_t *)notifyElement)->link)) !… in PM_UnregisterNotify()
Dfsl_pm_core.h434 status_t PM_RegisterNotify(pm_notify_group_t groupId, pm_notify_element_t *notifyElement);
443 void PM_UpdateNotify(void *notifyElement, pm_notify_callback_func_t callback, void *data);
450 status_t PM_UnregisterNotify(void *notifyElement);
/hal_nxp-latest/mcux/mcux-sdk/components/power_manager/
DREADME.md313 …us_t PM_RegisterNotify (pm_notify_group_t groupId, const pm_notify_element_t * notifyElement)**
318 notifyElement : The pointer to pm_notify_element_t.
324 **void PM_UpdateNotify (void * notifyElement, pm_notify_callback_func_t callback, void * data)**…
328 notifyElement : The pointer to the notify element to update.
334 **status_t PM_UnregisterNotify (void * notifyElement)**
337 *Parameter:* notifyElement : The pointer to the notify element to remove.