while(1)
{
/* Enter Critical Section */
phPlatform_EnterCriticalSection();
///////////////////this if condition is not satisfying in my code ///////////////////////////
if ((((options & E_OS_EVENT_OPT_PEND_SET_ALL) && (((*((uint32_t *)(*eventHandle))) & FlagsToWait) == FlagsToWait))
|| ((!(options & E_OS_EVENT_OPT_PEND_SET_ALL)) && ((*((uint32_t *)(*eventHandle))) & FlagsToWait)))
|| (gbWaitTimedOut))
{
/* Exit Critical Section. */
// phPlatform_ExitCriticalSection();
if (gbWaitTimedOut != 0x01)
{
status = PH_ERR_SUCCESS;
}
break;
}
/* Exit Critical Section. */
phPlatform_ExitCriticalSection();
/* Wait for interrupts/events to occur */
phPlatform_Sleep();
}
this code is downloaded from nxp semiconductor please give me a solution for this one.in this condition as i check the RF event is occurs but i am not sure is this RF event problem or PN512 blue board problem please help me.