#include <dsplink.h>
Go to the source code of this file.
FnNotifyCbck | |||||||
Signature of the callback function to be registered with the Notify component. ============================================================================
| |||||||
typedef Void(* | FnNotifyCbck )(IN Uint32 eventNo, IN Ptr arg, IN Ptr info) | ||||||
Int | NOTIFY_register (IN Uint32 procId, IN Uint32 ipsId, IN Uint32 eventNo, IN FnNotifyCbck fnNotifyCbck, IN Ptr cbckArg) | ||||||
This function registers a callback for a specific event with the NOTIFY component. | |||||||
Int | NOTIFY_unregister (IN Uint32 procId, IN Uint32 ipsId, IN Uint32 eventNo, IN FnNotifyCbck fnNotifyCbck, IN Void *cbckArg) | ||||||
This function unregisters a callback for a specific event with the NOTIFY component. | |||||||
Int | NOTIFY_notify (IN Uint32 procId, IN Uint32 ipsId, IN Uint32 eventNo, IN Uint32 payload) | ||||||
This function sends a notification of an event to the processor. |
typedef Void(* FnNotifyCbck)(IN Uint32 eventNo, IN Ptr arg, IN Ptr info) |
Int NOTIFY_register | ( | IN Uint32 | procId, |
IN Uint32 | ipsId, | ||
IN Uint32 | eventNo, | ||
IN FnNotifyCbck | fnNotifyCbck, | ||
IN Ptr | cbckArg | ||
) |
This function registers a callback for a specific event with the NOTIFY component.
============================================================================
procId | Identifier of the processor from which the notifications shall be received. |
ipsId | IPS Identifier. |
eventNo | Event No to be registered. |
fnNotifyCbck | Callback function to be registered for the specified event. |
cbckArg | Optional argument to the callback function to be registered for the specified event. This argument shall be passed to each invocation of the callback function. |
Int NOTIFY_unregister | ( | IN Uint32 | procId, |
IN Uint32 | ipsId, | ||
IN Uint32 | eventNo, | ||
IN FnNotifyCbck | fnNotifyCbck, | ||
IN Void * | cbckArg | ||
) |
This function unregisters a callback for a specific event with the NOTIFY component.
============================================================================
procId | Identifier of the processor from which the notifications shall no longer be received. |
ipsId | IPS Identifier. |
eventNo | Event to be unregistered. |
fnNotifyCbck | Callback function to be registered for the specified event. |
cbckArg | Optional argument to the callback function registered for the the specified event. |
This function sends a notification of an event to the processor.
============================================================================
procId | Identifier of the processor to which the notification is to be sent. |
ipsId | IPS Identifier. |
eventNo | Event to be notified to the processor. |
payload | Data to be sent with Event. |