 |
xWRL684x MMWAVE-L-SDK
06.00.05
|
|
Go to the documentation of this file.
42 #include <drivers/hw_include/cslr_soc.h>
56 #define IPC_SH_MEM (0x88000000U)
61 #define IPC_NOTIFY_CLIENT_ID_MAX (16U)
66 #define IPC_NOTIFY_CLIENT_ID_SYNC (0U)
71 #define IPC_NOTIFY_DEFAULT_INTR_PRIORITY (4U)
76 #define IPC_NOTIFY_MSG_VALUE_MAX (0x1000000000000000U)
102 typedef struct IpcNotify_Params_ {
166 int32_t
IpcNotify_sendMsg(uint32_t remoteCoreId, uint16_t remoteClientId, uint64_t msgValue, uint32_t waitForFifoNotFull);
#define CSL_CORE_ID_MAX
Definition: cslr_soc_defines.h:60
void * args
Definition: hsmclient_msg.h:4
uint32_t selfCoreId
Definition: ipc_notify.h:112
void IpcNotify_deInit(void)
De-initialize IPC Notify module.
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_isCoreEnabled(uint32_t coreId)
Check if a core is enabled for IPC.
Parameters used by IpcNotify_init.
Definition: ipc_notify.h:102
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.
void(* IpcNotify_FxnCallback)(uint32_t remoteCoreId, uint16_t localClientId, uint64_t msgValue, void *args)
User callback that is invoked when a message is received from a remote core for a given client ID.
Definition: ipc_notify.h:93
int32_t IpcNotify_waitSync(uint32_t remoteCoreId, uint32_t timeout)
Wait for a sync message to be received from the specified core.
uint32_t IpcNotify_getSelfCoreId(void)
Return current core ID.
int32_t IpcNotify_unregisterClient(uint16_t localClientId)
Un-register a previously registered callback.
uint32_t numCores
Definition: ipc_notify.h:104
uint8_t intrPriority
Definition: ipc_notify.h:116
int32_t IpcNotify_sendMsg(uint32_t remoteCoreId, uint16_t remoteClientId, uint64_t msgValue, uint32_t waitForFifoNotFull)
Send message to a specific remote core and specific client ID on that remote core.
int32_t IpcNotify_init(const IpcNotify_Params *params)
Initialize IPC Notify module.