lib/sw_services/xilsem/examples/xsem_cram_example.c
int Xsem_CfrEventRegisterNotifier(u32 Enable)
{
	int Status;

	if (Enable) {
		Notifier.Flag = 1U;
	} else {
		Notifier.Flag = 0U;
	}
	/* In this example all CRAM events are enabled
	 * If you want to enable a particular event set the Event member in
	 * Notifier structure with corresponding event.
	 */
	Status = XSem_RegisterEvent(&IpiInst, &Notifier);

	return Status;
}
/******************************************************************************
 * @brief	This function is used to Register XilSEM event notifications
 *
 * @param[in]	Enable : Enable event notification in XilSEM
 *
 * @return	Status : Success or Failure
 *
 *****************************************************************************/
@brief       This function is used to Register XilSEM event notifications
@param[in]   Enable : Enable event notification in XilSEM

@return      Status : Success or Failure
@brief This function is used to Register XilSEM event notifications @param [ in ] Enable : Enable event notification in XilSEM @return Status : Success or Failure
int Xsem_CfrEventRegisterNotifier(u32 Enable)
{
	int Status;
	if (Enable) {
		Notifier.Flag = 1U;
	} else {
		Notifier.Flag = 0U;
	}
	Status = XSem_RegisterEvent(&IpiInst, &Notifier);
	return Status;
}
int Xsem_CfrEventRegisterNotifier ( u32 Enable ) { int Status ; if ( Enable ) { Notifier . Flag = 1U ; } else { Notifier . Flag = 0U ; } Status = XSem_RegisterEvent ( & IpiInst , & Notifier ) ; return Status ; }
@brief       This function is used to Register XilSEM event notifications
 @param[in]   Enable : Enable event notification in XilSEM
@brief This function is used to Register XilSEM event notifications @param [ in ] Enable : Enable event notification in XilSEM
/* In this example all CRAM events are enabled
	 * If you want to enable a particular event set the Event member in
	 * Notifier structure with corresponding event.
	 */