ipc_poll_lock_stat() function
Waits for expected IPC lock status. PSoC6 uses IPC structures for inter-core communication. Same IPCs are used to invoke SROM API. IPC structure must be locked prior to invoking any SROM API. This ensures nothing else in the system will use same IPC thus corrupting our data. Locking is performed by ipc_acquire(), this function ensures that IPC is actually in expected state
Arguments
target
current target
ipc_id
IPC index to poll. IPC #2 is dedicated for DAP access
lock_expected
expected lock status
Return value
ERROR_OK in case of success, ERROR_XXX code otherwise
Functions calling ipc_poll_lock_stat()
Functions called by ipc_poll_lock_stat()
ipc_poll_lock_stat()
Data read by ipc_poll_lock_stat()
Data written by ipc_poll_lock_stat()
ipc_poll_lock_stat()
ipc_poll_lock_stat()::hr all items filtered out
Type of ipc_poll_lock_stat()
ipc_poll_lock_stat()
uint32_t all items filtered out