/* And for microcontrollers that have a USB peripheral: */
unsigned long uDMAChannelAttributeGet(unsigned long ulChannel)
/* And for microcontrollers that have a USB peripheral: */
unsigned long uDMAChannelAttributeGet(unsigned long ulChannel)
{
    unsigned long ulAttr = 0;
    ASSERT(ulChannel < 32);
    if(HWREG(UDMA_USEBURSTSET) & (1 << ulChannel))
    {
        ulAttr |= UDMA_ATTR_USEBURST;
    }
    if(HWREG(UDMA_ALTSET) & (1 << ulChannel))
    {
        ulAttr |= UDMA_ATTR_ALTSELECT;
    }
    if(HWREG(UDMA_PRIOSET) & (1 << ulChannel))
    {
        ulAttr |= UDMA_ATTR_HIGH_PRIORITY;
    }
    if(HWREG(UDMA_REQMASKSET) & (1 << ulChannel))
    {
        ulAttr |= UDMA_ATTR_REQMASK;
    }
    return(ulAttr);
}