/* Selection of any of the above modes enables the EPI module, except for  */
void EPIModeSet(uint32_t ui32Base, uint32_t ui32Mode)
/* Selection of any of the above modes enables the EPI module, except for  */
void EPIModeSet(uint32_t ui32Base, uint32_t ui32Mode)
{
    ASSERT(ui32Base == EPI0_BASE);
    ASSERT((ui32Mode == EPI_MODE_GENERAL) ||
           (ui32Mode == EPI_MODE_SDRAM) ||
           (ui32Mode == EPI_MODE_HB8) ||
           (ui32Mode == EPI_MODE_HB16) ||
           (ui32Mode == EPI_MODE_DISABLE));
    HWREG(ui32Base + EPI_O_CFG) = ui32Mode;
}