A PU can call this function to request that the power management controller call its notify callback whenever a qualifying event occurs. One can request to be notified for a specific or any event related to a specific node.
Note: The caller shall initialize the notifier object before invoking the XPm_RegisteredNotifier function. While notifier is registered, the notifier object shall not be modified by the caller.
Prototype
int XPm_RegisterNotifier(XPm_Notifier *const Notifier);
Parameters
The following table lists the XPm_RegisterNotifier
function arguments.
Type | Name | Description |
---|---|---|
XPm_Notifier
*const |
Notifier | Pointer to the notifier object to be associated with the requested notification. |