/* Clear the PDMA interrupt flag of a channel.  */
void PDMAChannelIntFlagClear(unsigned long ulChannelID, unsigned long ulIntFlags)
/* Clear the PDMA interrupt flag of a channel.  */
void PDMAChannelIntFlagClear(unsigned long ulChannelID, unsigned long ulIntFlags)
{
    xASSERT(xDMAChannelIDValid(ulChannelID));
    xASSERT((ulIntFlags == PDMA_EVENT_TC) || (ulIntFlags == PDMA_EVENT_ERROR));
    xHWREG(g_psDMAChannelAddress[ulChannelID] + PDMA_ISR) |= ulIntFlags;
}