/* Selection of any of the above modes will enable the EPI module, except for  */
void EPIModeSet(unsigned long ulBase, unsigned long ulMode)
/* Selection of any of the above modes will enable the EPI module, except for  */
void EPIModeSet(unsigned long ulBase, unsigned long ulMode)
{
    ASSERT(ulBase == EPI0_BASE);
    ASSERT((ulMode == EPI_MODE_GENERAL) ||
           (ulMode == EPI_MODE_SDRAM) ||
           (ulMode == EPI_MODE_HB8) ||
           (ulMode == EPI_MODE_HB16) ||
           (ulMode == EPI_MODE_DISABLE));
    HWREG(ulBase + EPI_O_CFG) = ulMode;
}