GPMC driver instance parameters.
GPMC Parameters are used to with the GPMC_open() call. Default values for these parameters are set using GPMC_Params_init().
If NULL is passed for the parameters, GPMC_open() uses default parameters.
Data Fields | |
int32_t | gpmcDmaChIndex |
uint32_t | devType |
uint32_t | devSize |
uint32_t | chipSel |
uint32_t | intrEnable |
uint32_t | dmaEnable |
GPMC_TransferMode | transferMode |
GPMC_CallbackFxn | transferCallBckFunc |
uint32_t | memDevice |
int32_t GPMC_Params::gpmcDmaChIndex |
Index of Channel used by GPMC DMA Driver. This index will be set by SysCfg according to the DMA driver chosen. The GPMC driver uses this index to do an GPMC_dmaOpen() inside the GPMC_open() if the DMA mode is enabled. device type, NAND or NOR like
uint32_t GPMC_Params::devType |
device size, 8-bit, 16-bit or 32-bit bus width
uint32_t GPMC_Params::devSize |
Signals timing latencies scalar factor
uint32_t GPMC_Params::chipSel |
Enable GPMC interrupt.
uint32_t GPMC_Params::intrEnable |
uint32_t GPMC_Params::dmaEnable |
Enable GPMC DMA mode.
GPMC_TransferMode GPMC_Params::transferMode |
Polling, blocking or callback mode . Refer GPMC_TransferMode
GPMC_CallbackFxn GPMC_Params::transferCallBckFunc |
External Callback function pointer
uint32_t GPMC_Params::memDevice |
Flag to indicate memory device