/* Note that, although the EPI peripheral can handle counts of up to 65535, a single uDMA transfer has a maximum length of 1024 units so  */
void EPIDMATxCount(uint32_t ui32Base, uint32_t ui32Count)
/* Note that, although the EPI peripheral can handle counts of up to 65535, a single uDMA transfer has a maximum length of 1024 units so  */
void EPIDMATxCount(uint32_t ui32Base, uint32_t ui32Count)
{
    ASSERT(ui32Base == EPI0_BASE);
    ASSERT(ui32Count <= 1024);
    HWREG(ui32Base + EPI_O_DMATXCNT) = ui32Count & 0xffff;
}