Go to the documentation of this file.00001
00043 #if !defined (NOTIFY_H)
00044 #define NOTIFY_H
00045
00046
00047
00048 #include <dsplink.h>
00049
00050
00051 #if defined (DDSP_PROFILE)
00052 #include <profile.h>
00053 #endif
00054
00055 #if defined (__cplusplus)
00056 extern "C" {
00057 #endif
00058
00059
00085 typedef Void (*FnNotifyCbck) (IN Uint32 eventNo,
00086 IN Pvoid arg,
00087 IN Pvoid info) ;
00088
00089
00133 EXPORT_API
00134 DSP_STATUS
00135 NOTIFY_register (IN ProcessorId dspId,
00136 IN Uint32 ipsId,
00137 IN Uint32 eventNo,
00138 IN FnNotifyCbck fnNotifyCbck,
00139 IN Pvoid cbckArg) ;
00140
00141
00182 EXPORT_API
00183 DSP_STATUS
00184 NOTIFY_unregister (IN ProcessorId dspId,
00185 IN Uint32 ipsId,
00186 IN Uint32 eventNo,
00187 IN FnNotifyCbck fnNotifyCbck,
00188 IN Pvoid cbckArg) ;
00189
00190
00225 EXPORT_API
00226 DSP_STATUS
00227 NOTIFY_notify (IN ProcessorId dspId,
00228 IN Uint32 ipsId,
00229 IN Uint32 eventno,
00230 IN Uint32 payload) ;
00231
00232
00233 #if defined (DDSP_PROFILE)
00234
00265 EXPORT_API
00266 DSP_STATUS
00267 NOTIFY_instrument (IN ProcessorId dspId,
00268 IN Uint32 ipsId,
00269 OUT IPS_Instrument * retVal) ;
00270 #endif
00271
00272
00273 #if defined (__cplusplus)
00274 }
00275 #endif
00276
00277
00278 #endif