Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00104 #ifndef ti_ipc_Notify__include
00105 #define ti_ipc_Notify__include
00106
00107 #if defined (__cplusplus)
00108 extern "C" {
00109 #endif
00110
00111
00112
00113
00114
00115
00120 #define Notify_S_BUSY 2
00121
00126 #define Notify_S_ALREADYSETUP 1
00127
00132 #define Notify_S_SUCCESS 0
00133
00138 #define Notify_E_FAIL -1
00139
00144 #define Notify_E_INVALIDARG -2
00145
00150 #define Notify_E_MEMORY -3
00151
00156 #define Notify_E_ALREADYEXISTS -4
00157
00162 #define Notify_E_NOTFOUND -5
00163
00168 #define Notify_E_TIMEOUT -6
00169
00174 #define Notify_E_INVALIDSTATE -7
00175
00180 #define Notify_E_OSFAILURE -8
00181
00186 #define Notify_E_ALREADYSETUP -9
00187
00192 #define Notify_E_RESOURCE -10
00193
00198 #define Notify_E_RESTART -11
00199
00204 #define Notify_E_BUSY -12
00205
00210 #define Notify_E_DRIVERNOTREGISTERED -13
00211
00216 #define Notify_E_EVTNOTREGISTERED -14
00217
00222 #define Notify_E_EVTDISABLED -15
00223
00228 #define Notify_E_NOTINITIALIZED -16
00229
00234 #define Notify_E_EVTRESERVED -17
00235
00236
00237
00238
00239
00240
00245 #define Notify_MAXEVENTS (UInt16)32
00246
00251 #define Notify_MAX_INTLINES 4u
00252
00259 #define Notify_SYSTEMKEY ((UInt16)0xC1D2)
00260
00261
00262
00263
00264
00265
00277 typedef Void (*Notify_FnNotifyCbck)(UInt16 , UInt16, UInt32, UArg, UInt32);
00278
00279
00280
00281
00282
00283
00309 Int Notify_attach(UInt16 remoteProcId, Ptr sharedAddr);
00310
00334 UInt Notify_disable(UInt16 procId, UInt16 lineId);
00335
00356 Void Notify_disableEvent(UInt16 procId, UInt16 lineId, UInt32 eventId);
00357
00372 Void Notify_enableEvent(UInt16 procId, UInt16 lineId, UInt32 eventId);
00373
00400 Bool Notify_eventAvailable(UInt16 procId, UInt16 lineId, UInt32 eventId);
00401
00417 Bool Notify_intLineRegistered(UInt16 procId, UInt16 lineId);
00418
00429 UInt16 Notify_numIntLines(UInt16 procId);
00430
00444 SizeT Notify_sharedMemReq(UInt16 procId, Ptr sharedAddr);
00445
00477 Int Notify_registerEvent(UInt16 procId,
00478 UInt16 lineId,
00479 UInt32 eventId,
00480 Notify_FnNotifyCbck fnNotifyCbck,
00481 UArg cbckArg);
00482
00509 Int Notify_registerEventSingle(UInt16 procId,
00510 UInt16 lineId,
00511 UInt32 eventId,
00512 Notify_FnNotifyCbck fnNotifyCbck,
00513 UArg cbckArg);
00514
00530 Void Notify_restore(UInt16 procId, UInt16 lineId, UInt key);
00531
00568 Int Notify_sendEvent(UInt16 procId,
00569 UInt16 lineId,
00570 UInt32 eventId,
00571 UInt32 payload,
00572 Bool waitClear);
00573
00597 Int Notify_unregisterEvent(UInt16 procId, UInt16 lineId, UInt32 eventId,
00598 Notify_FnNotifyCbck fnNotifyCbck, UArg cbckArg);
00599
00617 Int Notify_unregisterEventSingle(UInt16 procId, UInt16 lineId, UInt32 eventId);
00618
00619 #if defined (__cplusplus)
00620 }
00621 #endif
00622 #endif
00623
00624
00625
00626
00627
00628
00629
00630