/* Writes a half-word to the LPC channel pool. */
void LPCHalfWordWrite(unsigned long ulBase, unsigned long ulOffset, unsigned short usData)
/* Writes a half-word to the LPC channel pool. */
void LPCHalfWordWrite(unsigned long ulBase, unsigned long ulOffset, unsigned short usData)
{
    ASSERT(ulBase == LPC0_BASE);
    ASSERT((ulOffset & 1) == 0);
    ASSERT(ulOffset < (((HWREG(ulBase + LPC_O_STS) & LPC_STS_POOLSZ_M) >>
                        16) * 256));
    HWREGH(ulBase + LPC_O_POOL + ulOffset) = usData;
}