PSoC4200 Tx Example.cydsn/Generated_Source/PSoC4/XBEE_RX_INT.c
uint8 XBEE_RX_INT_GetPriority(void)
{
    uint32 priority;
	uint32 priorityOffset = ((XBEE_RX_INT__INTC_NUMBER % 4u) * 8u) + 6u;

    priority = (*XBEE_RX_INT_INTC_PRIOR & XBEE_RX_INT__INTC_PRIOR_MASK) >> priorityOffset;

    return (uint8)priority;
}
/*******************************************************************************
* Function Name: XBEE_RX_INT_GetPriority
********************************************************************************
*
* Summary:
*   Gets the Priority of the Interrupt.
*
* Parameters:
*   None
*
* Return:
*   Priority of the interrupt, 0 being the highest priority
*    PSoC 3 and PSoC 5LP: Priority is from 0 to 7.
*    PSoC 4: Priority is from 0 to 3.
*
*******************************************************************************/
Function Name: XBEE_RX_INT_GetPriority
Summary:
Gets the Priority of the Interrupt.

None

Priority of the interrupt, 0 being the highest priority
PSoC 3 and PSoC 5LP: Priority is from 0 to 7.
PSoC 4: Priority is from 0 to 3.
Function Name : XBEE_RX_INT_GetPriority Summary : Gets the Priority of the Interrupt . None Priority of the interrupt 0 being the highest priority PSoC 3 and PSoC 5LP : Priority is from 0 to 7 . PSoC 4 : Priority is from 0 to 3 .
uint8 XBEE_RX_INT_GetPriority(void)
{
    uint32 priority;
	uint32 priorityOffset = ((XBEE_RX_INT__INTC_NUMBER % 4u) * 8u) + 6u;
    priority = (*XBEE_RX_INT_INTC_PRIOR & XBEE_RX_INT__INTC_PRIOR_MASK) >> priorityOffset;
    return (uint8)priority;
}
uint8 XBEE_RX_INT_GetPriority ( void ) { uint32 priority ; uint32 priorityOffset = ( ( XBEE_RX_INT__INTC_NUMBER % 4u ) * 8u ) + 6u ; priority = ( * XBEE_RX_INT_INTC_PRIOR & XBEE_RX_INT__INTC_PRIOR_MASK ) >> priorityOffset ; return ( uint8 ) priority ; }
Function Name: XBEE_RX_INT_GetPriority
Summary:
Gets the Priority of the Interrupt.
Function Name : XBEE_RX_INT_GetPriority Summary : Gets the Priority of the Interrupt .