AM64x MCU+ SDK  10.00.00

Detailed Description

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
 

Field Documentation

◆ gpmcDmaChIndex

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

◆ devType

uint32_t GPMC_Params::devType

device size, 8-bit, 16-bit or 32-bit bus width

◆ devSize

uint32_t GPMC_Params::devSize

Signals timing latencies scalar factor

◆ chipSel

uint32_t GPMC_Params::chipSel

Enable GPMC interrupt.

◆ intrEnable

uint32_t GPMC_Params::intrEnable

◆ dmaEnable

uint32_t GPMC_Params::dmaEnable

Enable GPMC DMA mode.

◆ transferMode

GPMC_TransferMode GPMC_Params::transferMode

Polling, blocking or callback mode . Refer GPMC_TransferMode

◆ transferCallBckFunc

GPMC_CallbackFxn GPMC_Params::transferCallBckFunc

External Callback function pointer

◆ memDevice

uint32_t GPMC_Params::memDevice

Flag to indicate memory device