/* Returns the available number of integrated USB DMA channels. */
uint32_t USBDMANumChannels(uint32_t ui32Base)
/* Returns the available number of integrated USB DMA channels. */
uint32_t USBDMANumChannels(uint32_t ui32Base)
{
    ASSERT(ui32Base == USB0_BASE);
    return (HWREG(ui32Base + USB_O_RAMINFO) >> USB_RAMINFO_DMACHAN_S);
}