XSem_Notifier
: This structure contains details of event notifications to be registered with the XilSEM server
Declaration
typedef struct
{
u32 Module,
u32 Event,
u32 Flag
} XSem_Notifier;
Table 1. Structure XSem_Notifier member descriptionMember |
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
-
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
|
Flag |
Event flags to enable or disable notification.
-
To enable event notification: use XSEM_EVENT_ENABLE
-
To disable event notification: use XSEM_EVENT_DISABLE
|