AM261x MCU+ SDK: GPMC_Params Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
GPMC_Params Struct Reference
APIs for SOC Specific Device Drivers » APIs for GPMC

## 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
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

## ◆ memDevice

uint32_t GPMC_Params::memDevice

Flag to indicate memory device