XSem_Notifier - 2021.2 English

Xilinx Standalone Library Documentation: OS and Libraries Document Collection

Document ID
UG643
Release Date
2021-10-27
Version
2021.2 English
This structure contains details of event notification to be registered with the XilSEM server.

Declaration

typedef struct
{
  u32 Module,
  u32 Event,
  u32 Flag
} XSem_Notifier;
Table 1. Structure XSem_Notifier member description
Member Description
Module

The module information to receive notifications. Module can be either CRAM or NPI.

  • For CRAM: use XSEM_NOTIFY_CRAM
  • For NPI: use XSEM_NOTIFY_NPI
Event

The event types specify the specific event registration. For CRAM module, events are:

  • Uncorrectable ECC error: use XSEM_EVENT_CRAM_UNCOR_ECC_ERR
  • Uncorrectable CRC error: use XSEM_EVENT_CRAM_CRC_ERR
  • Internal error: use XSEM_EVENT_CRAM_INT_ERR
  • Correctable ECC error: use XSEM_EVENT_CRAM_COR_ECC_ERR

For NPI module, events are:

  • Uncorrectable CRC error: use XSEM_EVENT_NPI_CRC_ERR
  • Internal error: use XSEM_EVENT_NPI_INT_ERR
Flag

Event flags to enable or disable notification.

  • To enable event notification: use XSEM_EVENT_ENABLE
  • To disable event notification: use XSEM_EVENT_DISABLE