98 #ifndef ti_ipc_Notify__include
99 #define ti_ipc_Notify__include
101 #if defined (__cplusplus)
113 #define Notify_S_BUSY (2)
118 #define Notify_S_ALREADYSETUP (1)
123 #define Notify_S_SUCCESS (0)
128 #define Notify_E_FAIL (-1)
133 #define Notify_E_INVALIDARG (-2)
138 #define Notify_E_MEMORY (-3)
143 #define Notify_E_ALREADYEXISTS (-4)
148 #define Notify_E_NOTFOUND (-5)
153 #define Notify_E_TIMEOUT (-6)
158 #define Notify_E_INVALIDSTATE (-7)
163 #define Notify_E_OSFAILURE (-8)
168 #define Notify_E_ALREADYSETUP (-9)
173 #define Notify_E_RESOURCE (-10)
178 #define Notify_E_RESTART (-11)
183 #define Notify_E_BUSY (-12)
188 #define Notify_E_DRIVERNOTREGISTERED (-13)
193 #define Notify_E_EVTNOTREGISTERED (-14)
198 #define Notify_E_EVTDISABLED (-15)
203 #define Notify_E_NOTINITIALIZED (-16)
208 #define Notify_E_EVTRESERVED (-17)
218 #define Notify_MAXEVENTS (UInt16)32
223 #define Notify_MAX_INTLINES 4u
230 #define Notify_SYSTEMKEY ((UInt16)0xC1D2)
422 SizeT Notify_sharedMemReq(UInt16 procId, Ptr sharedAddr);
558 UInt32 payload, Bool waitClear);
605 #if defined (__cplusplus)
Int Notify_registerEventSingle(UInt16 procId, UInt16 lineId, UInt32 eventId, Notify_FnNotifyCbck fnNotifyCbck, UArg cbckArg)
Register a single callback for an event.
Void(* Notify_FnNotifyCbck)(UInt16, UInt16, UInt32, UArg, UInt32)
Signature of any callback function that can be registered with the Notify component.
Definition: Notify.h:248
Bool Notify_intLineRegistered(UInt16 procId, UInt16 lineId)
Whether notification via interrupt line has been registered.
Bool Notify_eventAvailable(UInt16 procId, UInt16 lineId, UInt32 eventId)
Whether an unused event is available on an interrupt line.
Void Notify_restore(UInt16 procId, UInt16 lineId, UInt key)
Restore ability to receive interrupts on an interrupt line.
Int Notify_sendEvent(UInt16 procId, UInt16 lineId, UInt32 eventId, UInt32 payload, Bool waitClear)
Send an event on an interrupt line.
Int Notify_registerEvent(UInt16 procId, UInt16 lineId, UInt32 eventId, Notify_FnNotifyCbck fnNotifyCbck, UArg cbckArg)
Register a callback for an event (supports multiple callbacks)
UInt16 Notify_numIntLines(UInt16 procId)
Returns number of interrupt lines to remote processor.
Int Notify_unregisterEvent(UInt16 procId, UInt16 lineId, UInt32 eventId, Notify_FnNotifyCbck fnNotifyCbck, UArg cbckArg)
Remove an event listener from an event.
Int Notify_attach(UInt16 remoteProcId, Ptr sharedAddr)
Creates notify drivers and registers them with Notify.
UInt Notify_disable(UInt16 procId, UInt16 lineId)
Disable ability to receive interrupts on an interrupt line.
Void Notify_disableEvent(UInt16 procId, UInt16 lineId, UInt32 eventId)
Disable an event.
Int Notify_unregisterEventSingle(UInt16 procId, UInt16 lineId, UInt32 eventId)
Remove an event listener from an event.
Void Notify_enableEvent(UInt16 procId, UInt16 lineId, UInt32 eventId)
Enable an event.