Macros | Functions
epi.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define EPI_MODE_GENERAL   0x00000010
 
#define EPI_MODE_SDRAM   0x00000011
 
#define EPI_MODE_HB8   0x00000012
 
#define EPI_MODE_HB16   0x00000013
 
#define EPI_MODE_DISABLE   0x00000000
 
#define EPI_SDRAM_CORE_FREQ_0_15   0x00000000
 
#define EPI_SDRAM_CORE_FREQ_15_30   0x40000000
 
#define EPI_SDRAM_CORE_FREQ_30_50   0x80000000
 
#define EPI_SDRAM_CORE_FREQ_50_100   0xC0000000
 
#define EPI_SDRAM_LOW_POWER   0x00000200
 
#define EPI_SDRAM_FULL_POWER   0x00000000
 
#define EPI_SDRAM_SIZE_64MBIT   0x00000000
 
#define EPI_SDRAM_SIZE_128MBIT   0x00000001
 
#define EPI_SDRAM_SIZE_256MBIT   0x00000002
 
#define EPI_SDRAM_SIZE_512MBIT   0x00000003
 
#define EPI_GPMODE_CLKPIN   0x80000000
 
#define EPI_GPMODE_CLKGATE   0x40000000
 
#define EPI_GPMODE_FRAME50   0x04000000
 
#define EPI_GPMODE_WRITE2CYCLE   0x00080000
 
#define EPI_GPMODE_ASIZE_NONE   0x00000000
 
#define EPI_GPMODE_ASIZE_4   0x00000010
 
#define EPI_GPMODE_ASIZE_12   0x00000020
 
#define EPI_GPMODE_ASIZE_20   0x00000030
 
#define EPI_GPMODE_DSIZE_8   0x00000000
 
#define EPI_GPMODE_DSIZE_16   0x00000001
 
#define EPI_GPMODE_DSIZE_24   0x00000002
 
#define EPI_GPMODE_DSIZE_32   0x00000003
 
#define EPI_HB8_USE_TXEMPTY   0x00800000
 
#define EPI_HB8_USE_RXFULL   0x00400000
 
#define EPI_HB8_WRHIGH   0x00200000
 
#define EPI_HB8_RDHIGH   0x00100000
 
#define EPI_HB8_ALE_HIGH   0x00080000
 
#define EPI_HB8_ALE_LOW   0x00000000
 
#define EPI_HB8_WRWAIT_0   0x00000000
 
#define EPI_HB8_WRWAIT_1   0x00000040
 
#define EPI_HB8_WRWAIT_2   0x00000080
 
#define EPI_HB8_WRWAIT_3   0x000000C0
 
#define EPI_HB8_RDWAIT_0   0x00000000
 
#define EPI_HB8_RDWAIT_1   0x00000010
 
#define EPI_HB8_RDWAIT_2   0x00000020
 
#define EPI_HB8_RDWAIT_3   0x00000030
 
#define EPI_HB8_MODE_ADMUX   0x00000000
 
#define EPI_HB8_MODE_ADDEMUX   0x00000001
 
#define EPI_HB8_MODE_SRAM   0x00000002
 
#define EPI_HB8_MODE_FIFO   0x00000003
 
#define EPI_HB8_CSCFG_ALE   0x00000000
 
#define EPI_HB8_CSCFG_CS   0x00000200
 
#define EPI_HB8_CSCFG_DUAL_CS   0x00000400
 
#define EPI_HB8_CSCFG_ALE_DUAL_CS   0x00000600
 
#define EPI_HB8_CSCFG_ALE_SINGLE_CS   0x00001000
 
#define EPI_HB8_CSCFG_QUAD_CS   0x00001200
 
#define EPI_HB8_CSCFG_ALE_QUAD_CS   0x00001400
 
#define EPI_HB8_CSBAUD   0x00000800
 
#define EPI_HB8_CLOCK_GATE   0x80000000
 
#define EPI_HB8_CLOCK_GATE_IDLE   0x40000000
 
#define EPI_HB8_CLOCK_INVERT   0x20000000
 
#define EPI_HB8_IN_READY_EN   0x10000000
 
#define EPI_HB8_IN_READY_EN_INVERT   0x18000000
 
#define EPI_HB8_CSCFG_MASK   0x00001600
 
#define EPI_HB16_USE_TXEMPTY   0x00800000
 
#define EPI_HB16_USE_RXFULL   0x00400000
 
#define EPI_HB16_WRHIGH   0x00200000
 
#define EPI_HB16_RDHIGH   0x00100000
 
#define EPI_HB16_WRWAIT_0   0x00000000
 
#define EPI_HB16_WRWAIT_1   0x00000040
 
#define EPI_HB16_WRWAIT_2   0x00000080
 
#define EPI_HB16_WRWAIT_3   0x000000C0
 
#define EPI_HB16_RDWAIT_0   0x00000000
 
#define EPI_HB16_RDWAIT_1   0x00000010
 
#define EPI_HB16_RDWAIT_2   0x00000020
 
#define EPI_HB16_RDWAIT_3   0x00000030
 
#define EPI_HB16_MODE_ADMUX   0x00000000
 
#define EPI_HB16_MODE_ADDEMUX   0x00000001
 
#define EPI_HB16_MODE_SRAM   0x00000002
 
#define EPI_HB16_MODE_FIFO   0x00000003
 
#define EPI_HB16_BSEL   0x00000004
 
#define EPI_HB16_CSCFG_ALE   0x00000000
 
#define EPI_HB16_CSCFG_CS   0x00000200
 
#define EPI_HB16_CSCFG_DUAL_CS   0x00000400
 
#define EPI_HB16_CSCFG_ALE_DUAL_CS   0x00000600
 
#define EPI_HB16_CSCFG_ALE_SINGLE_CS   0x00001000
 
#define EPI_HB16_CSCFG_QUAD_CS   0x00001200
 
#define EPI_HB16_CSCFG_ALE_QUAD_CS   0x00001400
 
#define EPI_HB16_CLOCK_GATE   0x80000000
 
#define EPI_HB16_CLOCK_GATE_IDLE   0x40000000
 
#define EPI_HB16_CLOCK_INVERT   0x20000000
 
#define EPI_HB16_IN_READY_EN   0x10000000
 
#define EPI_HB16_IN_READY_EN_INVERTED   0x18000000
 
#define EPI_HB16_ALE_HIGH   0x00080000
 
#define EPI_HB16_ALE_LOW   0x00000000
 
#define EPI_HB16_BURST_TRAFFIC   0x00010000
 
#define EPI_HB16_CSBAUD   0x00000800
 
#define EPI_HB16_CSCFG_MASK   0x00001600
 
#define EPI_HB8_IN_READY_DELAY_1   0x01000000
 
#define EPI_HB8_IN_READY_DELAY_2   0x02000000
 
#define EPI_HB8_IN_READY_DELAY_3   0x03000000
 
#define EPI_HB8_CAP_WIDTH_1   0x00001000
 
#define EPI_HB8_CAP_WIDTH_2   0x00002000
 
#define EPI_HB8_WRWAIT_MINUS_DISABLE   0x00000000
 
#define EPI_HB8_WRWAIT_MINUS_ENABLE   0x00000010
 
#define EPI_HB8_RDWAIT_MINUS_DISABLE   0x00000000
 
#define EPI_HB8_RDWAIT_MINUS_ENABLE   0x00000001
 
#define EPI_HB16_IN_READY_DELAY_1   0x01000000
 
#define EPI_HB16_IN_READY_DELAY_2   0x02000000
 
#define EPI_HB16_IN_READY_DELAY_3   0x03000000
 
#define EPI_HB16_PSRAM_NO_LIMIT   0x00000000
 
#define EPI_HB16_PSRAM_128   0x00010000
 
#define EPI_HB16_PSRAM_256   0x00020000
 
#define EPI_HB16_PSRAM_512   0x00030000
 
#define EPI_HB16_PSRAM_1024   0x00040000
 
#define EPI_HB16_PSRAM_2048   0x00050000
 
#define EPI_HB16_PSRAM_4096   0x00060000
 
#define EPI_HB16_PSRAM_8192   0x00070000
 
#define EPI_HB16_CAP_WIDTH_1   0x00001000
 
#define EPI_HB16_CAP_WIDTH_2   0x00002000
 
#define EPI_HB16_WRWAIT_MINUS_DISABLE   0x00000000
 
#define EPI_HB16_WRWAIT_MINUS_ENABLE   0x00000008
 
#define EPI_HB16_RDWAIT_MINUS_DISABLE   0x00000000
 
#define EPI_HB16_RDWAIT_MINUS_ENABLE   0x00000001
 
#define EPI_ADDR_PER_SIZE_256B   0x00000000
 
#define EPI_ADDR_PER_SIZE_64KB   0x00000040
 
#define EPI_ADDR_PER_SIZE_16MB   0x00000080
 
#define EPI_ADDR_PER_SIZE_256MB   0x000000C0
 
#define EPI_ADDR_PER_BASE_NONE   0x00000000
 
#define EPI_ADDR_PER_BASE_A   0x00000010
 
#define EPI_ADDR_PER_BASE_C   0x00000020
 
#define EPI_ADDR_RAM_SIZE_256B   0x00000000
 
#define EPI_ADDR_RAM_SIZE_64KB   0x00000004
 
#define EPI_ADDR_RAM_SIZE_16MB   0x00000008
 
#define EPI_ADDR_RAM_SIZE_256MB   0x0000000C
 
#define EPI_ADDR_RAM_BASE_NONE   0x00000000
 
#define EPI_ADDR_RAM_BASE_6   0x00000001
 
#define EPI_ADDR_RAM_BASE_8   0x00000002
 
#define EPI_ADDR_QUAD_MODE   0x00000033
 
#define EPI_ADDR_CODE_SIZE_256B   0x00000000
 
#define EPI_ADDR_CODE_SIZE_64KB   0x00000400
 
#define EPI_ADDR_CODE_SIZE_16MB   0x00000800
 
#define EPI_ADDR_CODE_SIZE_256MB   0x00000C00
 
#define EPI_ADDR_CODE_BASE_NONE   0x00000000
 
#define EPI_ADDR_CODE_BASE_1   0x00000100
 
#define EPI_NBCONFIG_SIZE_8   1
 
#define EPI_NBCONFIG_SIZE_16   2
 
#define EPI_NBCONFIG_SIZE_32   3
 
#define EPI_FIFO_CONFIG_WTFULLERR   0x00020000
 
#define EPI_FIFO_CONFIG_RSTALLERR   0x00010000
 
#define EPI_FIFO_CONFIG_TX_EMPTY   0x00000000
 
#define EPI_FIFO_CONFIG_TX_1_4   0x00000020
 
#define EPI_FIFO_CONFIG_TX_1_2   0x00000030
 
#define EPI_FIFO_CONFIG_TX_3_4   0x00000040
 
#define EPI_FIFO_CONFIG_RX_1_8   0x00000001
 
#define EPI_FIFO_CONFIG_RX_1_4   0x00000002
 
#define EPI_FIFO_CONFIG_RX_1_2   0x00000003
 
#define EPI_FIFO_CONFIG_RX_3_4   0x00000004
 
#define EPI_FIFO_CONFIG_RX_7_8   0x00000005
 
#define EPI_FIFO_CONFIG_RX_FULL   0x00000006
 
#define EPI_INT_DMA_TX_DONE   0x00000010
 
#define EPI_INT_DMA_RX_DONE   0x00000008
 
#define EPI_INT_TXREQ   0x00000004
 
#define EPI_INT_RXREQ   0x00000002
 
#define EPI_INT_ERR   0x00000001
 
#define EPI_INT_ERR_DMAWRIC   0x00000010
 
#define EPI_INT_ERR_DMARDIC   0x00000008
 
#define EPI_INT_ERR_WTFULL   0x00000004
 
#define EPI_INT_ERR_RSTALL   0x00000002
 
#define EPI_INT_ERR_TIMEOUT   0x00000001
 

Functions

void EPIModeSet (uint32_t ui32Base, uint32_t ui32Mode)
 
void EPIDividerSet (uint32_t ui32Base, uint32_t ui32Divider)
 
void EPIDividerCSSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32Divider)
 
void EPIDMATxCount (uint32_t ui32Base, uint32_t ui32Count)
 
void EPIConfigGPModeSet (uint32_t ui32Base, uint32_t ui32Config, uint32_t ui32FrameCount, uint32_t ui32MaxWait)
 
void EPIConfigHB8Set (uint32_t ui32Base, uint32_t ui32Config, uint32_t ui32MaxWait)
 
void EPIConfigHB16Set (uint32_t ui32Base, uint32_t ui32Config, uint32_t ui32MaxWait)
 
void EPIConfigHB8CSSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32Config)
 
void EPIConfigHB16CSSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32Config)
 
void EPIConfigHB8TimingSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32Config)
 
void EPIConfigHB16TimingSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32Config)
 
void EPIPSRAMConfigRegSet (uint32_t ui32Base, uint32_t ui32CS, uint32_t ui32CR)
 
void EPIPSRAMConfigRegRead (uint32_t ui32Base, uint32_t ui32CS)
 
bool EPIPSRAMConfigRegGetNonBlocking (uint32_t ui32Base, uint32_t ui32CS, uint32_t *pui32CR)
 
uint32_t EPIPSRAMConfigRegGet (uint32_t ui32Base, uint32_t ui32CS)
 
void EPIConfigSDRAMSet (uint32_t ui32Base, uint32_t ui32Config, uint32_t ui32Refresh)
 
void EPIAddressMapSet (uint32_t ui32Base, uint32_t ui32Map)
 
void EPINonBlockingReadConfigure (uint32_t ui32Base, uint32_t ui32Channel, uint32_t ui32DataSize, uint32_t ui32Address)
 
void EPINonBlockingReadStart (uint32_t ui32Base, uint32_t ui32Channel, uint32_t ui32Count)
 
void EPINonBlockingReadStop (uint32_t ui32Base, uint32_t ui32Channel)
 
uint32_t EPINonBlockingReadCount (uint32_t ui32Base, uint32_t ui32Channel)
 
uint32_t EPINonBlockingReadAvail (uint32_t ui32Base)
 
uint32_t EPINonBlockingReadGet32 (uint32_t ui32Base, uint32_t ui32Count, uint32_t *pui32Buf)
 
uint32_t EPINonBlockingReadGet16 (uint32_t ui32Base, uint32_t ui32Count, uint16_t *pui16Buf)
 
uint32_t EPINonBlockingReadGet8 (uint32_t ui32Base, uint32_t ui32Count, uint8_t *pui8Buf)
 
void EPIFIFOConfig (uint32_t ui32Base, uint32_t ui32Config)
 
uint32_t EPIWriteFIFOCountGet (uint32_t ui32Base)
 
void EPIIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void EPIIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t EPIIntStatus (uint32_t ui32Base, bool bMasked)
 
uint32_t EPIIntErrorStatus (uint32_t ui32Base)
 
void EPIIntErrorClear (uint32_t ui32Base, uint32_t ui32ErrFlags)
 
void EPIIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void EPIIntUnregister (uint32_t ui32Base)
 

Macro Definition Documentation

§ EPI_MODE_GENERAL

#define EPI_MODE_GENERAL   0x00000010

Referenced by EPIModeSet().

§ EPI_MODE_SDRAM

#define EPI_MODE_SDRAM   0x00000011

Referenced by EPIModeSet().

§ EPI_MODE_HB8

#define EPI_MODE_HB8   0x00000012

Referenced by EPIModeSet().

§ EPI_MODE_HB16

#define EPI_MODE_HB16   0x00000013

Referenced by EPIModeSet().

§ EPI_MODE_DISABLE

#define EPI_MODE_DISABLE   0x00000000

Referenced by EPIModeSet().

§ EPI_SDRAM_CORE_FREQ_0_15

#define EPI_SDRAM_CORE_FREQ_0_15   0x00000000

§ EPI_SDRAM_CORE_FREQ_15_30

#define EPI_SDRAM_CORE_FREQ_15_30   0x40000000

§ EPI_SDRAM_CORE_FREQ_30_50

#define EPI_SDRAM_CORE_FREQ_30_50   0x80000000

§ EPI_SDRAM_CORE_FREQ_50_100

#define EPI_SDRAM_CORE_FREQ_50_100   0xC0000000

§ EPI_SDRAM_LOW_POWER

#define EPI_SDRAM_LOW_POWER   0x00000200

§ EPI_SDRAM_FULL_POWER

#define EPI_SDRAM_FULL_POWER   0x00000000

§ EPI_SDRAM_SIZE_64MBIT

#define EPI_SDRAM_SIZE_64MBIT   0x00000000

§ EPI_SDRAM_SIZE_128MBIT

#define EPI_SDRAM_SIZE_128MBIT   0x00000001

§ EPI_SDRAM_SIZE_256MBIT

#define EPI_SDRAM_SIZE_256MBIT   0x00000002

§ EPI_SDRAM_SIZE_512MBIT

#define EPI_SDRAM_SIZE_512MBIT   0x00000003

§ EPI_GPMODE_CLKPIN

#define EPI_GPMODE_CLKPIN   0x80000000

§ EPI_GPMODE_CLKGATE

#define EPI_GPMODE_CLKGATE   0x40000000

§ EPI_GPMODE_FRAME50

#define EPI_GPMODE_FRAME50   0x04000000

§ EPI_GPMODE_WRITE2CYCLE

#define EPI_GPMODE_WRITE2CYCLE   0x00080000

§ EPI_GPMODE_ASIZE_NONE

#define EPI_GPMODE_ASIZE_NONE   0x00000000

§ EPI_GPMODE_ASIZE_4

#define EPI_GPMODE_ASIZE_4   0x00000010

§ EPI_GPMODE_ASIZE_12

#define EPI_GPMODE_ASIZE_12   0x00000020

§ EPI_GPMODE_ASIZE_20

#define EPI_GPMODE_ASIZE_20   0x00000030

§ EPI_GPMODE_DSIZE_8

#define EPI_GPMODE_DSIZE_8   0x00000000

§ EPI_GPMODE_DSIZE_16

#define EPI_GPMODE_DSIZE_16   0x00000001

§ EPI_GPMODE_DSIZE_24

#define EPI_GPMODE_DSIZE_24   0x00000002

§ EPI_GPMODE_DSIZE_32

#define EPI_GPMODE_DSIZE_32   0x00000003

§ EPI_HB8_USE_TXEMPTY

#define EPI_HB8_USE_TXEMPTY   0x00800000

§ EPI_HB8_USE_RXFULL

#define EPI_HB8_USE_RXFULL   0x00400000

§ EPI_HB8_WRHIGH

#define EPI_HB8_WRHIGH   0x00200000

§ EPI_HB8_RDHIGH

#define EPI_HB8_RDHIGH   0x00100000

§ EPI_HB8_ALE_HIGH

#define EPI_HB8_ALE_HIGH   0x00080000

§ EPI_HB8_ALE_LOW

#define EPI_HB8_ALE_LOW   0x00000000

§ EPI_HB8_WRWAIT_0

#define EPI_HB8_WRWAIT_0   0x00000000

§ EPI_HB8_WRWAIT_1

#define EPI_HB8_WRWAIT_1   0x00000040

§ EPI_HB8_WRWAIT_2

#define EPI_HB8_WRWAIT_2   0x00000080

§ EPI_HB8_WRWAIT_3

#define EPI_HB8_WRWAIT_3   0x000000C0

§ EPI_HB8_RDWAIT_0

#define EPI_HB8_RDWAIT_0   0x00000000

§ EPI_HB8_RDWAIT_1

#define EPI_HB8_RDWAIT_1   0x00000010

§ EPI_HB8_RDWAIT_2

#define EPI_HB8_RDWAIT_2   0x00000020

§ EPI_HB8_RDWAIT_3

#define EPI_HB8_RDWAIT_3   0x00000030

§ EPI_HB8_MODE_ADMUX

#define EPI_HB8_MODE_ADMUX   0x00000000

§ EPI_HB8_MODE_ADDEMUX

#define EPI_HB8_MODE_ADDEMUX   0x00000001

§ EPI_HB8_MODE_SRAM

#define EPI_HB8_MODE_SRAM   0x00000002

§ EPI_HB8_MODE_FIFO

#define EPI_HB8_MODE_FIFO   0x00000003

§ EPI_HB8_CSCFG_ALE

#define EPI_HB8_CSCFG_ALE   0x00000000

§ EPI_HB8_CSCFG_CS

#define EPI_HB8_CSCFG_CS   0x00000200

§ EPI_HB8_CSCFG_DUAL_CS

#define EPI_HB8_CSCFG_DUAL_CS   0x00000400

§ EPI_HB8_CSCFG_ALE_DUAL_CS

#define EPI_HB8_CSCFG_ALE_DUAL_CS   0x00000600

§ EPI_HB8_CSCFG_ALE_SINGLE_CS

#define EPI_HB8_CSCFG_ALE_SINGLE_CS   0x00001000

§ EPI_HB8_CSCFG_QUAD_CS

#define EPI_HB8_CSCFG_QUAD_CS   0x00001200

§ EPI_HB8_CSCFG_ALE_QUAD_CS

#define EPI_HB8_CSCFG_ALE_QUAD_CS   0x00001400

§ EPI_HB8_CSBAUD

#define EPI_HB8_CSBAUD   0x00000800

Referenced by EPIConfigHB8Set().

§ EPI_HB8_CLOCK_GATE

#define EPI_HB8_CLOCK_GATE   0x80000000

§ EPI_HB8_CLOCK_GATE_IDLE

#define EPI_HB8_CLOCK_GATE_IDLE   0x40000000

§ EPI_HB8_CLOCK_INVERT

#define EPI_HB8_CLOCK_INVERT   0x20000000

§ EPI_HB8_IN_READY_EN

#define EPI_HB8_IN_READY_EN   0x10000000

§ EPI_HB8_IN_READY_EN_INVERT

#define EPI_HB8_IN_READY_EN_INVERT   0x18000000

§ EPI_HB8_CSCFG_MASK

#define EPI_HB8_CSCFG_MASK   0x00001600

Referenced by EPIConfigHB8Set().

§ EPI_HB16_USE_TXEMPTY

#define EPI_HB16_USE_TXEMPTY   0x00800000

§ EPI_HB16_USE_RXFULL

#define EPI_HB16_USE_RXFULL   0x00400000

§ EPI_HB16_WRHIGH

#define EPI_HB16_WRHIGH   0x00200000

§ EPI_HB16_RDHIGH

#define EPI_HB16_RDHIGH   0x00100000

§ EPI_HB16_WRWAIT_0

#define EPI_HB16_WRWAIT_0   0x00000000

§ EPI_HB16_WRWAIT_1

#define EPI_HB16_WRWAIT_1   0x00000040

§ EPI_HB16_WRWAIT_2

#define EPI_HB16_WRWAIT_2   0x00000080

§ EPI_HB16_WRWAIT_3

#define EPI_HB16_WRWAIT_3   0x000000C0

§ EPI_HB16_RDWAIT_0

#define EPI_HB16_RDWAIT_0   0x00000000

§ EPI_HB16_RDWAIT_1

#define EPI_HB16_RDWAIT_1   0x00000010

§ EPI_HB16_RDWAIT_2

#define EPI_HB16_RDWAIT_2   0x00000020

§ EPI_HB16_RDWAIT_3

#define EPI_HB16_RDWAIT_3   0x00000030

§ EPI_HB16_MODE_ADMUX

#define EPI_HB16_MODE_ADMUX   0x00000000

§ EPI_HB16_MODE_ADDEMUX

#define EPI_HB16_MODE_ADDEMUX   0x00000001

§ EPI_HB16_MODE_SRAM

#define EPI_HB16_MODE_SRAM   0x00000002

§ EPI_HB16_MODE_FIFO

#define EPI_HB16_MODE_FIFO   0x00000003

§ EPI_HB16_BSEL

#define EPI_HB16_BSEL   0x00000004

§ EPI_HB16_CSCFG_ALE

#define EPI_HB16_CSCFG_ALE   0x00000000

§ EPI_HB16_CSCFG_CS

#define EPI_HB16_CSCFG_CS   0x00000200

§ EPI_HB16_CSCFG_DUAL_CS

#define EPI_HB16_CSCFG_DUAL_CS   0x00000400

§ EPI_HB16_CSCFG_ALE_DUAL_CS

#define EPI_HB16_CSCFG_ALE_DUAL_CS   0x00000600

§ EPI_HB16_CSCFG_ALE_SINGLE_CS

#define EPI_HB16_CSCFG_ALE_SINGLE_CS   0x00001000

§ EPI_HB16_CSCFG_QUAD_CS

#define EPI_HB16_CSCFG_QUAD_CS   0x00001200

§ EPI_HB16_CSCFG_ALE_QUAD_CS

#define EPI_HB16_CSCFG_ALE_QUAD_CS   0x00001400

§ EPI_HB16_CLOCK_GATE

#define EPI_HB16_CLOCK_GATE   0x80000000

§ EPI_HB16_CLOCK_GATE_IDLE

#define EPI_HB16_CLOCK_GATE_IDLE   0x40000000

§ EPI_HB16_CLOCK_INVERT

#define EPI_HB16_CLOCK_INVERT   0x20000000

§ EPI_HB16_IN_READY_EN

#define EPI_HB16_IN_READY_EN   0x10000000

§ EPI_HB16_IN_READY_EN_INVERTED

#define EPI_HB16_IN_READY_EN_INVERTED   0x18000000

§ EPI_HB16_ALE_HIGH

#define EPI_HB16_ALE_HIGH   0x00080000

§ EPI_HB16_ALE_LOW

#define EPI_HB16_ALE_LOW   0x00000000

§ EPI_HB16_BURST_TRAFFIC

#define EPI_HB16_BURST_TRAFFIC   0x00010000

§ EPI_HB16_CSBAUD

#define EPI_HB16_CSBAUD   0x00000800

Referenced by EPIConfigHB16Set().

§ EPI_HB16_CSCFG_MASK

#define EPI_HB16_CSCFG_MASK   0x00001600

Referenced by EPIConfigHB16Set().

§ EPI_HB8_IN_READY_DELAY_1

#define EPI_HB8_IN_READY_DELAY_1   0x01000000

§ EPI_HB8_IN_READY_DELAY_2

#define EPI_HB8_IN_READY_DELAY_2   0x02000000

§ EPI_HB8_IN_READY_DELAY_3

#define EPI_HB8_IN_READY_DELAY_3   0x03000000

§ EPI_HB8_CAP_WIDTH_1

#define EPI_HB8_CAP_WIDTH_1   0x00001000

§ EPI_HB8_CAP_WIDTH_2

#define EPI_HB8_CAP_WIDTH_2   0x00002000

§ EPI_HB8_WRWAIT_MINUS_DISABLE

#define EPI_HB8_WRWAIT_MINUS_DISABLE   0x00000000

§ EPI_HB8_WRWAIT_MINUS_ENABLE

#define EPI_HB8_WRWAIT_MINUS_ENABLE   0x00000010

§ EPI_HB8_RDWAIT_MINUS_DISABLE

#define EPI_HB8_RDWAIT_MINUS_DISABLE   0x00000000

§ EPI_HB8_RDWAIT_MINUS_ENABLE

#define EPI_HB8_RDWAIT_MINUS_ENABLE   0x00000001

§ EPI_HB16_IN_READY_DELAY_1

#define EPI_HB16_IN_READY_DELAY_1   0x01000000

§ EPI_HB16_IN_READY_DELAY_2

#define EPI_HB16_IN_READY_DELAY_2   0x02000000

§ EPI_HB16_IN_READY_DELAY_3

#define EPI_HB16_IN_READY_DELAY_3   0x03000000

§ EPI_HB16_PSRAM_NO_LIMIT

#define EPI_HB16_PSRAM_NO_LIMIT   0x00000000

§ EPI_HB16_PSRAM_128

#define EPI_HB16_PSRAM_128   0x00010000

§ EPI_HB16_PSRAM_256

#define EPI_HB16_PSRAM_256   0x00020000

§ EPI_HB16_PSRAM_512

#define EPI_HB16_PSRAM_512   0x00030000

§ EPI_HB16_PSRAM_1024

#define EPI_HB16_PSRAM_1024   0x00040000

§ EPI_HB16_PSRAM_2048

#define EPI_HB16_PSRAM_2048   0x00050000

§ EPI_HB16_PSRAM_4096

#define EPI_HB16_PSRAM_4096   0x00060000

§ EPI_HB16_PSRAM_8192

#define EPI_HB16_PSRAM_8192   0x00070000

§ EPI_HB16_CAP_WIDTH_1

#define EPI_HB16_CAP_WIDTH_1   0x00001000

§ EPI_HB16_CAP_WIDTH_2

#define EPI_HB16_CAP_WIDTH_2   0x00002000

§ EPI_HB16_WRWAIT_MINUS_DISABLE

#define EPI_HB16_WRWAIT_MINUS_DISABLE   0x00000000

§ EPI_HB16_WRWAIT_MINUS_ENABLE

#define EPI_HB16_WRWAIT_MINUS_ENABLE   0x00000008

§ EPI_HB16_RDWAIT_MINUS_DISABLE

#define EPI_HB16_RDWAIT_MINUS_DISABLE   0x00000000

§ EPI_HB16_RDWAIT_MINUS_ENABLE

#define EPI_HB16_RDWAIT_MINUS_ENABLE   0x00000001

§ EPI_ADDR_PER_SIZE_256B

#define EPI_ADDR_PER_SIZE_256B   0x00000000

§ EPI_ADDR_PER_SIZE_64KB

#define EPI_ADDR_PER_SIZE_64KB   0x00000040

§ EPI_ADDR_PER_SIZE_16MB

#define EPI_ADDR_PER_SIZE_16MB   0x00000080

§ EPI_ADDR_PER_SIZE_256MB

#define EPI_ADDR_PER_SIZE_256MB   0x000000C0

§ EPI_ADDR_PER_BASE_NONE

#define EPI_ADDR_PER_BASE_NONE   0x00000000

§ EPI_ADDR_PER_BASE_A

#define EPI_ADDR_PER_BASE_A   0x00000010

§ EPI_ADDR_PER_BASE_C

#define EPI_ADDR_PER_BASE_C   0x00000020

§ EPI_ADDR_RAM_SIZE_256B

#define EPI_ADDR_RAM_SIZE_256B   0x00000000

§ EPI_ADDR_RAM_SIZE_64KB

#define EPI_ADDR_RAM_SIZE_64KB   0x00000004

§ EPI_ADDR_RAM_SIZE_16MB

#define EPI_ADDR_RAM_SIZE_16MB   0x00000008

§ EPI_ADDR_RAM_SIZE_256MB

#define EPI_ADDR_RAM_SIZE_256MB   0x0000000C

§ EPI_ADDR_RAM_BASE_NONE

#define EPI_ADDR_RAM_BASE_NONE   0x00000000

§ EPI_ADDR_RAM_BASE_6

#define EPI_ADDR_RAM_BASE_6   0x00000001

§ EPI_ADDR_RAM_BASE_8

#define EPI_ADDR_RAM_BASE_8   0x00000002

§ EPI_ADDR_QUAD_MODE

#define EPI_ADDR_QUAD_MODE   0x00000033

§ EPI_ADDR_CODE_SIZE_256B

#define EPI_ADDR_CODE_SIZE_256B   0x00000000

§ EPI_ADDR_CODE_SIZE_64KB

#define EPI_ADDR_CODE_SIZE_64KB   0x00000400

§ EPI_ADDR_CODE_SIZE_16MB

#define EPI_ADDR_CODE_SIZE_16MB   0x00000800

§ EPI_ADDR_CODE_SIZE_256MB

#define EPI_ADDR_CODE_SIZE_256MB   0x00000C00

§ EPI_ADDR_CODE_BASE_NONE

#define EPI_ADDR_CODE_BASE_NONE   0x00000000

§ EPI_ADDR_CODE_BASE_1

#define EPI_ADDR_CODE_BASE_1   0x00000100

§ EPI_NBCONFIG_SIZE_8

#define EPI_NBCONFIG_SIZE_8   1

§ EPI_NBCONFIG_SIZE_16

#define EPI_NBCONFIG_SIZE_16   2

§ EPI_NBCONFIG_SIZE_32

#define EPI_NBCONFIG_SIZE_32   3

§ EPI_FIFO_CONFIG_WTFULLERR

#define EPI_FIFO_CONFIG_WTFULLERR   0x00020000

§ EPI_FIFO_CONFIG_RSTALLERR

#define EPI_FIFO_CONFIG_RSTALLERR   0x00010000

§ EPI_FIFO_CONFIG_TX_EMPTY

#define EPI_FIFO_CONFIG_TX_EMPTY   0x00000000

§ EPI_FIFO_CONFIG_TX_1_4

#define EPI_FIFO_CONFIG_TX_1_4   0x00000020

§ EPI_FIFO_CONFIG_TX_1_2

#define EPI_FIFO_CONFIG_TX_1_2   0x00000030

§ EPI_FIFO_CONFIG_TX_3_4

#define EPI_FIFO_CONFIG_TX_3_4   0x00000040

§ EPI_FIFO_CONFIG_RX_1_8

#define EPI_FIFO_CONFIG_RX_1_8   0x00000001

§ EPI_FIFO_CONFIG_RX_1_4

#define EPI_FIFO_CONFIG_RX_1_4   0x00000002

§ EPI_FIFO_CONFIG_RX_1_2

#define EPI_FIFO_CONFIG_RX_1_2   0x00000003

§ EPI_FIFO_CONFIG_RX_3_4

#define EPI_FIFO_CONFIG_RX_3_4   0x00000004

§ EPI_FIFO_CONFIG_RX_7_8

#define EPI_FIFO_CONFIG_RX_7_8   0x00000005

§ EPI_FIFO_CONFIG_RX_FULL

#define EPI_FIFO_CONFIG_RX_FULL   0x00000006

§ EPI_INT_DMA_TX_DONE

#define EPI_INT_DMA_TX_DONE   0x00000010

§ EPI_INT_DMA_RX_DONE

#define EPI_INT_DMA_RX_DONE   0x00000008

§ EPI_INT_TXREQ

#define EPI_INT_TXREQ   0x00000004

§ EPI_INT_RXREQ

#define EPI_INT_RXREQ   0x00000002

§ EPI_INT_ERR

#define EPI_INT_ERR   0x00000001

§ EPI_INT_ERR_DMAWRIC

#define EPI_INT_ERR_DMAWRIC   0x00000010

§ EPI_INT_ERR_DMARDIC

#define EPI_INT_ERR_DMARDIC   0x00000008

§ EPI_INT_ERR_WTFULL

#define EPI_INT_ERR_WTFULL   0x00000004

§ EPI_INT_ERR_RSTALL

#define EPI_INT_ERR_RSTALL   0x00000002

§ EPI_INT_ERR_TIMEOUT

#define EPI_INT_ERR_TIMEOUT   0x00000001
Copyright 2017, Texas Instruments Incorporated