|
AM263x MCU+ SDK
08.02.00
|
|
Go to the documentation of this file.
42 #include <drivers/hw_include/cslr_soc.h>
56 #define IPC_NOTIFY_CLIENT_ID_MAX (16U)
61 #define IPC_NOTIFY_CLIENT_ID_RPMSG (0U)
66 #define IPC_NOTIFY_CLIENT_ID_SYNC (1U)
71 #define IPC_NOTIFY_MSG_VALUE_MAX (0x10000000U)
88 typedef void (*
IpcNotify_FxnCallback)(uint32_t remoteCoreId, uint16_t localClientId, uint32_t msgValue,
void *args);
107 typedef struct IpcNotify_Params_ {
172 int32_t
IpcNotify_sendMsg(uint32_t remoteCoreId, uint16_t remoteClientId, uint32_t msgValue, uint32_t waitForFifoNotFull);
#define CSL_CORE_ID_MAX
Definition: cslr_soc_defines.h:114
void IpcNotify_deInit()
De-initialize IPC Notify module.
uint32_t selfCoreId
Definition: ipc_notify.h:117
int32_t IpcNotify_registerClient(uint16_t localClientId, IpcNotify_FxnCallback msgCallback, void *args)
Register a callback to handle messages received from a specific remote core and for a specific local ...
int32_t IpcNotify_sendSync(uint32_t remoteCoreId)
Send a sync message to specific core.
uint32_t IpcNotify_getSelfCoreId()
Return current core ID.
void IpcNotify_registerNonNotifyCallback(IpcNotify_NonNotifyCallback callback)
This is a driver library internal API and is used in certain SOCs by the separate mailbox driver.
int32_t IpcNotify_sendMsg(uint32_t remoteCoreId, uint16_t remoteClientId, uint32_t msgValue, uint32_t waitForFifoNotFull)
Send message to a specific remote core and specific client ID on that remote core.
uint32_t linuxCoreId
Definition: ipc_notify.h:122
uint32_t IpcNotify_isCoreEnabled(uint32_t coreId)
Check if a core is enabled for IPC.
Parameters used by IpcNotify_init.
Definition: ipc_notify.h:107
void(* IpcNotify_NonNotifyCallback)(uint32_t remoteCoreId)
This is a driver library internal API and is used in certain SOCs by the separate mailbox driver.
Definition: ipc_notify.h:98
int32_t IpcNotify_syncAll(uint32_t timeout)
Send a message to all enabled cores and wait for sync message from all enabled cores.
void IpcNotify_Params_init(IpcNotify_Params *params)
Set default value to IpcNotify_Params.
int32_t IpcNotify_waitSync(uint32_t remoteCoreId, uint32_t timeout)
Wait for a sync message to be received from the specified core.
int32_t IpcNotify_unregisterClient(uint16_t localClientId)
Un-register a previously registered callback.
uint32_t numCores
Definition: ipc_notify.h:109
int32_t IpcNotify_init(const IpcNotify_Params *params)
Initialize IPC Notify module.
void(* IpcNotify_FxnCallback)(uint32_t remoteCoreId, uint16_t localClientId, uint32_t msgValue, void *args)
User callback that is invoked when a message is received from a reote core for a given client ID.
Definition: ipc_notify.h:88