xilsem
Vitis Drivers API Documentation
XSem_Notifier Struct Reference

XSem_Notifier : This structure contains details of event notifications to be registered with the XilSEM server. More...

Data Fields

u32 Module
 The module information to receive notifications. More...
 
u32 Event
 The event types specify the specific event registration. More...
 
u32 Flag
 Event flags to enable or disable notification. More...
 

Detailed Description

XSem_Notifier : This structure contains details of event notifications to be registered with the XilSEM server.

Field Documentation

u32 XSem_Notifier::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
  • Unsupported Descriptor Format: use XSEM_EVENT_NPI_DESC_FMT_ERR
  • Descriptors absent for Scan: use XSEM_EVENT_NPI_DESC_ABSNT_ERR
  • SHA Indicator mismatch: use XSEM_EVENT_NPI_SHA_IND_ERR
  • SHA engine error: use XSEM_EVENT_NPI_SHA_ENGINE_ERR
  • Periodic Scan Missed: use XSEM_EVENT_NPI_PSCAN_MISSED_ERR
  • Cryptographic Accelerator Disabled: use XSEM_EVENT_NPI_CRYPTO_EXPORT_SET_ERR
  • Safety Write Failure: useXSEM_EVENT_NPI_SFTY_WR_ERR
  • GPIO Error event: use XSEM_EVENT_NPI_GPIO_ERR
  • Self Diagnosis failed: use XSEM_EVENT_NPI_SELF_DIAG_FAIL

Referenced by XSem_RegisterEvent().

u32 XSem_Notifier::Flag

Event flags to enable or disable notification.

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

Referenced by XSem_NpiEventRegisterNotifier(), and XSem_RegisterEvent().

u32 XSem_Notifier::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

Referenced by XSem_RegisterEvent().