/* The interpretation of the LPC_INT_CHx fields varies based on the type value programed for the specific Channel. */
unsigned long LPCIntStatus(unsigned long ulBase, tBoolean bMasked)
/* The interpretation of the LPC_INT_CHx fields varies based on the type value programed for the specific Channel. */
unsigned long LPCIntStatus(unsigned long ulBase, tBoolean bMasked)
{
    ASSERT(ulBase == LPC0_BASE);
    if(bMasked)
    {
        return(HWREG(ulBase + LPC_O_MIS));
    }
    else
    {
        return(HWREG(ulBase + LPC_O_RIS));
    }
}