XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_rx.c
static void XHdcp1x_RxProcessPending(XHdcp1x *InstancePtr)
{
	/* Check for any pending events */
	if (InstancePtr->Rx.PendingEvents != 0) {
		u16 Pending = InstancePtr->Rx.PendingEvents;
		XHdcp1x_EventType Event = XHDCP1X_EVENT_NULL;

		/* Update InstancePtr */
		InstancePtr->Rx.PendingEvents = 0;

		/* Iterate through thePending */
		do {
			/* Check for a pending event */
			if ((Pending & 1u) != 0) {
				XHdcp1x_RxDoTheState(InstancePtr, Event);
			}

			/* Update for loop */
			Pending >>= 1;
			Event++;
		}
		while (Pending != 0);
	}
}
/*****************************************************************************/
/**
* This function processes the events pending on a state machine.
*
* @param	InstancePtr is the receiver instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function processes the events pending on a state machine.
This function processes the events pending on a state machine .
static void XHdcp1x_RxProcessPending(XHdcp1x *InstancePtr)
{
	if (InstancePtr->Rx.PendingEvents != 0) {
		u16 Pending = InstancePtr->Rx.PendingEvents;
		XHdcp1x_EventType Event = XHDCP1X_EVENT_NULL;
		InstancePtr->Rx.PendingEvents = 0;
		do {
			if ((Pending & 1u) != 0) {
				XHdcp1x_RxDoTheState(InstancePtr, Event);
			}
			Pending >>= 1;
			Event++;
		}
		while (Pending != 0);
	}
}
static void XHdcp1x_RxProcessPending ( XHdcp1x * InstancePtr ) { if ( InstancePtr -> Rx . PendingEvents != 0 ) { u16 Pending = InstancePtr -> Rx . PendingEvents ; XHdcp1x_EventType Event = XHDCP1X_EVENT_NULL ; InstancePtr -> Rx . PendingEvents = 0 ; do { if ( ( Pending & 1u ) != 0 ) { XHdcp1x_RxDoTheState ( InstancePtr , Event ) ; } Pending >>= 1 ; Event ++ ; } while ( Pending != 0 ) ; } }
This function processes the events pending on a state machine.
This function processes the events pending on a state machine .
/* Check for any pending events */ /* Update InstancePtr */ /* Iterate through thePending */ /* Check for a pending event */ /* Update for loop */