/* Gets the absolute base address of the channel pool. */
unsigned long LPCChannelPoolAddressGet(unsigned long ulBase, unsigned long ulChannel)
/* Gets the absolute base address of the channel pool. */
unsigned long LPCChannelPoolAddressGet(unsigned long ulBase, unsigned long ulChannel)
{
    unsigned long ulAddress;
    ASSERT(ulBase == LPC0_BASE);
    ASSERT(LPCChannelValid(ulChannel));
    ulAddress = HWREG(ulBase + LPC_O_CH0CTL + (ulChannel * 0x10));
    ulAddress = ((ulAddress & LPC_CH0CTL_OFFSET_M) >>
                 (LPC_CH0CTL_OFFSET_S - 1));
    ulAddress += (ulBase + LPC_O_POOL);
    return(ulAddress);
}