/* Get the peripheral interrupt number through peripheral base.  */
unsigned long SysCtlPeripheraIntNumGet(unsigned long ulPeripheralBase)
/* Get the peripheral interrupt number through peripheral base.  */
unsigned long SysCtlPeripheraIntNumGet(unsigned long ulPeripheralBase)
{
    unsigned long i = 0;
    for(i=0; g_pPeripherals[i].ulPeripheralBase != 0; i++)
    {
        if(ulPeripheralBase == g_pPeripherals[i].ulPeripheralBase)
        {
            break;
        }
    }
    return g_pPeripherals[i].ulPeripheralIntNum;
}