XSem_RegisterEvent - 2022.2 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

This function is used to register/un-register event notification with XilSEM Server. Primarily this function sends an IPI request to PLM to invoke SEM Event Notifier registration, waits for PLM to process the request and check the status.

Note: The caller shall initialize the notifier object before invoking the XSem_RegisterEvent function.

Prototype

XStatus XSem_RegisterEvent(XIpiPsu *IpiInst, XSem_Notifier *Notifier);

Parameters

The following table lists the XSem_RegisterEvent function arguments.

Table 1. XSem_RegisterEvent Arguments
Type Name Description
XIpiPsu * IpiInst Pointer to IPI driver instance
XSem_Notifier * Notifier Pointer of the notifier object to be associated with the requested notification

Returns

This API returns the success or failure.
  • XST_FAILURE: On event registration/un-registration failure
  • XST_SUCCESS: On event registration/un-registration success