![Logo](ti_logo.svg) |
AM62x MCU+ SDK
09.02.01
|
|
Go to the documentation of this file.
65 #include <drivers/hw_include/csl_types.h>
66 #include <drivers/hw_include/cslr_gpmc.h>
83 #define GPMC_CHIP_SELECT_CS0 (0U)
84 #define GPMC_CHIP_SELECT_CS1 (1U)
85 #define GPMC_CHIP_SELECT_CS2 (2U)
86 #define GPMC_CHIP_SELECT_CS3 (3U)
97 #define GPMC_FIFOEVENT_STATUS (0U)
98 #define GPMC_TERMINALCOUNT_STATUS (1U)
99 #define GPMC_WAIT0EDGEDETECTION_STATUS (2U)
100 #define GPMC_WAIT1EDGEDETECTION_STATUS (3U)
111 #define GPMC_FIFOEVENT_INT (0U)
112 #define GPMC_TERMINALCOUNT_INT (1U)
113 #define GPMC_WAIT0EDGEDETECTION_INT (2U)
114 #define GPMC_WAIT1EDGEDETECTION_INT (3U)
125 #define GPMC_PREFETCH_ACCESSMODE_READ (0U)
126 #define GPMC_PREFETCH_ACCESSMODE_WRITE (1U)
137 #define GPMC_ECC_ALGORITHM_HAMMINGCODE (0U)
138 #define GPMC_ECC_ALGORITHM_BCH (1U)
148 #define GPMC_ECC_BCH_ERRCORRCAP_UPTO_4BITS (0U)
149 #define GPMC_ECC_BCH_ERRCORRCAP_UPTO_8BITS (1U)
150 #define GPMC_ECC_BCH_ERRCORRCAP_UPTO_16BITS (2U)
161 #define GPMC_ECCPOINTER_RESULT_1 (1U)
162 #define GPMC_ECCPOINTER_RESULT_2 (2U)
163 #define GPMC_ECCPOINTER_RESULT_3 (3U)
164 #define GPMC_ECCPOINTER_RESULT_4 (4U)
165 #define GPMC_ECCPOINTER_RESULT_5 (5U)
166 #define GPMC_ECCPOINTER_RESULT_6 (6U)
167 #define GPMC_ECCPOINTER_RESULT_7 (7U)
168 #define GPMC_ECCPOINTER_RESULT_8 (8U)
169 #define GPMC_ECCPOINTER_RESULT_9 (9U)
178 #define GPMC_ECC_SIZE_0 (0U)
179 #define GPMC_ECC_SIZE_1 (1U)
188 #define GPMC_ECC_RESULT_1 (1U)
189 #define GPMC_ECC_RESULT_2 (2U)
190 #define GPMC_ECC_RESULT_3 (3U)
191 #define GPMC_ECC_RESULT_4 (4U)
192 #define GPMC_ECC_RESULT_5 (5U)
193 #define GPMC_ECC_RESULT_6 (6U)
194 #define GPMC_ECC_RESULT_7 (7U)
195 #define GPMC_ECC_RESULT_8 (8U)
196 #define GPMC_ECC_RESULT_9 (9U)
205 #define GPMC_BCH_RESULT0 (0U)
206 #define GPMC_BCH_RESULT1 (1U)
207 #define GPMC_BCH_RESULT2 (2U)
208 #define GPMC_BCH_RESULT3 (3U)
209 #define GPMC_BCH_RESULT4 (4U)
210 #define GPMC_BCH_RESULT5 (5U)
211 #define GPMC_BCH_RESULT6 (6U)
220 #define GPMC_CS_MASK_ADDR_SIZE_256MB (0x00U)
221 #define GPMC_CS_MASK_ADDR_SIZE_128MB (0x08U)
222 #define GPMC_CS_MASK_ADDR_SIZE_64MB (0x0cU)
223 #define GPMC_CS_MASK_ADDR_SIZE_32MB (0x0eU)
224 #define GPMC_CS_MASK_ADDR_SIZE_16MB (0x0fU)
250 #define GPMC_CS_TIMING_CONFIG(CSWrOffTime, CSRdOffTime, CSExtDelayFlag, \
252 ((uint32_t) (((CSWrOffTime) << CSL_GPMC_CONFIG2_CSWROFFTIME_SHIFT) \
253 & CSL_GPMC_CONFIG2_CSWROFFTIME_MASK) | \
254 (((CSRdOffTime) << CSL_GPMC_CONFIG2_CSRDOFFTIME_SHIFT) \
255 & CSL_GPMC_CONFIG2_CSRDOFFTIME_MASK) | \
256 (((CSExtDelayFlag) << CSL_GPMC_CONFIG2_CSEXTRADELAY_SHIFT) \
257 & CSL_GPMC_CONFIG2_CSEXTRADELAY_MASK) | \
258 (((CSOnTime) << CSL_GPMC_CONFIG2_CSONTIME_SHIFT) \
259 & CSL_GPMC_CONFIG2_CSONTIME_MASK))
297 #define GPMC_ADV_TIMING_CONFIG(ADVAADMuxWrOffTime, ADVAADMuxRdOffTime, \
298 ADVWrOffTime, ADVRdOffTime, ADVExtDelayFlag, \
301 ((uint32_t) (((ADVAADMuxWrOffTime) << \
302 CSL_GPMC_CONFIG3_ADVAADMUXWROFFTIME_SHIFT) & \
303 CSL_GPMC_CONFIG3_ADVAADMUXWROFFTIME_MASK) | \
304 (((ADVAADMuxRdOffTime) << CSL_GPMC_CONFIG3_ADVAADMUXRDOFFTIME_SHIFT) & \
305 CSL_GPMC_CONFIG3_ADVAADMUXRDOFFTIME_MASK) | \
306 (((ADVWrOffTime) << CSL_GPMC_CONFIG3_ADVWROFFTIME_SHIFT) & \
307 CSL_GPMC_CONFIG3_ADVWROFFTIME_MASK) | \
308 (((ADVRdOffTime) << CSL_GPMC_CONFIG3_ADVRDOFFTIME_SHIFT) & \
309 CSL_GPMC_CONFIG3_ADVRDOFFTIME_MASK) | \
310 (((ADVExtDelayFlag) << CSL_GPMC_CONFIG3_ADVEXTRADELAY_SHIFT) & \
311 CSL_GPMC_CONFIG3_ADVEXTRADELAY_MASK) | \
312 (((ADVAADMuxOnTime) << CSL_GPMC_CONFIG3_ADVAADMUXONTIME_SHIFT) & \
313 CSL_GPMC_CONFIG3_ADVAADMUXONTIME_MASK) | \
314 (((ADVOnTime) << CSL_GPMC_CONFIG3_ADVONTIME_SHIFT) & \
315 CSL_GPMC_CONFIG3_ADVONTIME_MASK))
361 #define GPMC_WE_OE_TIMING_CONFIG(WEOffTime, WEExtDelayFlag, WEOnTime, \
362 OEAADMuxOffTime, OEOffTime, OEExtDelayFlag, \
363 OEAADMuxOnTime, OEOnTime) \
364 ((uint32_t) (((WEOffTime) << \
365 CSL_GPMC_CONFIG4_WEOFFTIME_SHIFT) & \
366 CSL_GPMC_CONFIG4_WEOFFTIME_MASK) | \
367 (((WEExtDelayFlag) << \
368 CSL_GPMC_CONFIG4_WEEXTRADELAY_SHIFT) & CSL_GPMC_CONFIG4_WEEXTRADELAY_MASK) | \
370 CSL_GPMC_CONFIG4_WEONTIME_SHIFT) & CSL_GPMC_CONFIG4_WEONTIME_MASK) | \
371 (((OEAADMuxOffTime) << \
372 CSL_GPMC_CONFIG4_OEAADMUXOFFTIME_SHIFT) & \
373 CSL_GPMC_CONFIG4_OEAADMUXOFFTIME_MASK) | \
375 CSL_GPMC_CONFIG4_OEOFFTIME_SHIFT) & CSL_GPMC_CONFIG4_OEOFFTIME_MASK) | \
376 (((OEExtDelayFlag) << \
377 CSL_GPMC_CONFIG4_OEEXTRADELAY_SHIFT) & CSL_GPMC_CONFIG4_OEEXTRADELAY_MASK) | \
378 (((OEAADMuxOnTime) << \
379 CSL_GPMC_CONFIG4_OEAADMUXONTIME_SHIFT) & \
380 CSL_GPMC_CONFIG4_OEAADMUXONTIME_MASK) | \
382 CSL_GPMC_CONFIG4_OEONTIME_SHIFT) & CSL_GPMC_CONFIG4_OEONTIME_MASK))
402 #define GPMC_RDACCESS_CYCLETIME_TIMING_CONFIG(rdCycleTime, wrCycleTime, \
404 pageBurstAccessTime) \
405 ((uint32_t) (((rdCycleTime) << \
406 CSL_GPMC_CONFIG5_RDCYCLETIME_SHIFT) & \
407 CSL_GPMC_CONFIG5_RDCYCLETIME_MASK) | \
409 CSL_GPMC_CONFIG5_WRCYCLETIME_SHIFT) & CSL_GPMC_CONFIG5_WRCYCLETIME_MASK) | \
410 (((rdAccessTime) << \
411 CSL_GPMC_CONFIG5_RDACCESSTIME_SHIFT) & CSL_GPMC_CONFIG5_RDACCESSTIME_MASK) | \
412 (((pageBurstAccessTime) << \
413 CSL_GPMC_CONFIG5_PAGEBURSTACCESSTIME_SHIFT) & \
414 CSL_GPMC_CONFIG5_PAGEBURSTACCESSTIME_MASK))
447 #define GPMC_CYCLE2CYCLE_BUSTURNAROUND_TIMING_CONFIG(cycle2CycleDelay, \
448 cycle2CycleDelaySameCSCfg, \
449 cycle2CycleDelayDiffCSCfg, \
451 ((uint32_t) (((cycle2CycleDelay) << \
452 CSL_GPMC_CONFIG6_CYCLE2CYCLEDELAY_SHIFT) & \
453 CSL_GPMC_CONFIG6_CYCLE2CYCLEDELAY_MASK) | \
454 (((cycle2CycleDelaySameCSCfg) << \
455 CSL_GPMC_CONFIG6_CYCLE2CYCLESAMECSEN_SHIFT) & \
456 CSL_GPMC_CONFIG6_CYCLE2CYCLESAMECSEN_MASK) | \
457 (((cycle2CycleDelayDiffCSCfg) << \
458 CSL_GPMC_CONFIG6_CYCLE2CYCLEDIFFCSEN_SHIFT) & \
459 CSL_GPMC_CONFIG6_CYCLE2CYCLEDIFFCSEN_MASK) | \
461 CSL_GPMC_CONFIG6_BUSTURNAROUND_SHIFT) & CSL_GPMC_CONFIG6_BUSTURNAROUND_MASK))
464 #define GPMC_DMA_COPY_LOWER_LIMIT (512U)
466 #define GPMC_CS_BASE_ADDR_SHIFT (24U)
468 #define GPMC_ECC_WRAP_MODE1 (1)
470 #define GPMC_CMD_INVALID (0xFFFFFFFFU)
483 typedef enum GPMC_v1_nandEccAlgo_s
498 typedef enum GPMC_OperatingMode_s {
514 typedef enum GPMC_TransferMode_s {
532 typedef enum GPMC_TransactionType_e {
547 typedef enum GPMC_TransactionStatus_s {
586 typedef struct GPMC_Transaction_s {
622 typedef struct GPMC_Params_s
666 typedef struct GPMC_Object_s {
696 typedef struct GPMC_timingParams_s
758 typedef struct GPMC_HwAttrs_s
814 typedef struct GPMC_Config_s {
1158 params->
devType = CSL_GPMC_CONFIG1_DEVICETYPE_NANDLIKE;
1159 params->
devType = CSL_GPMC_CONFIG1_DEVICESIZE_EIGHTBITS;
GPMC_CallbackFxn transferCallbackFxn
Definition: gpmc/v0/gpmc.h:670
GPMC driver object.
Definition: gpmc/v0/gpmc.h:666
int32_t GPMC_writeNandCommand(GPMC_Handle handle, GPMC_nandCmdParams *cmdParams)
Function to write NAND command parameters.
uint32_t waitPinPol
Definition: gpmc/v0/gpmc.h:785
int32_t GPMC_configureTimingParameters(GPMC_Handle handle)
Function to configure GPMC timing parameters.
uint32_t waitPinNum
Definition: gpmc/v0/gpmc.h:783
int32_t GPMC_eccBchConfigureElm(GPMC_Handle handle, uint8_t numSectors)
Function to configure ELM module for error correction.
int32_t GPMC_configurePrefetchPostWriteEngine(GPMC_Handle handle)
Function to configure GPMC PREFETCH read and POST write engine.
uint32_t cycleDelaySameChipSel
Definition: gpmc/v0/gpmc.h:742
@ GPMC_TRANSACTION_TYPE_WRITE_CMDREG
Definition: gpmc/v0/gpmc.h:539
uint32_t isOpen
Definition: gpmc/v0/gpmc.h:679
uint32_t intrPriority
Definition: gpmc/v0/gpmc.h:771
uint32_t dataBaseAddr
Definition: gpmc/v0/gpmc.h:763
@ GPMC_TRANSFER_CSN_DEASSERT
Definition: gpmc/v0/gpmc.h:552
GPMC_CallbackFxn transferCallBckFunc
Definition: gpmc/v0/gpmc.h:641
uint32_t writeType
Definition: gpmc/v0/gpmc.h:793
void GPMC_init(void)
This function initializes the GPMC module.
uint32_t csOnTime
Definition: gpmc/v0/gpmc.h:698
uint32_t intrNum
Definition: gpmc/v0/gpmc.h:769
uint32_t rdCycleTime
Definition: gpmc/v0/gpmc.h:734
@ GPMC_TRANSACTION_TYPE_READ_CMDREG
Definition: gpmc/v0/gpmc.h:537
uint32_t rdAccessTime
Definition: gpmc/v0/gpmc.h:730
void * GPMC_Handle
A handle that is returned from a GPMC_open() call.
Definition: gpmc/v0/gpmc.h:473
int32_t GPMC_nandWriteData(GPMC_Handle handle, GPMC_Transaction *trans)
Function to write data to NANDflash using CPU prefetch/post write engine.
int32_t GPMC_nandReadData(GPMC_Handle handle, GPMC_Transaction *trans)
Function to read data from NAND flash using DMA or CPU prefetch/post write engine.
uint16_t index
Definition: tisci_rm_proxy.h:3
uint32_t oeOffTime
Definition: gpmc/v0/gpmc.h:722
@ GPMC_TRANSFER_FAILED
Definition: gpmc/v0/gpmc.h:551
uint32_t busTurnAroundTime
Definition: gpmc/v0/gpmc.h:748
uint32_t advAadMuxOnTime
Definition: gpmc/v0/gpmc.h:710
GPMC Driver configuration structure.
Definition: gpmc/v0/gpmc.h:814
const GPMC_HwAttrs * attrs
Definition: gpmc/v0/gpmc.h:816
uint32_t optimisedAccess
Definition: gpmc/v0/gpmc.h:799
uint32_t gpmcBaseAddr
Definition: gpmc/v0/gpmc.h:761
GPMC_Object * object
Definition: gpmc/v0/gpmc.h:818
uint32_t regionSize
Definition: gpmc/v0/gpmc.h:657
uint32_t csExDelay
Definition: gpmc/v0/gpmc.h:795
GPMC_TransferMode transferMode
Definition: gpmc/v0/gpmc.h:639
GPMC_Transaction data structure is used with GPMC_transactionInit(), GPMC_nandReadData() and GPMC_nan...
Definition: gpmc/v0/gpmc.h:586
void GPMC_transactionInit(GPMC_Transaction *trans)
Function to initialise GPMC_Transaction structure to default values.
GPMC instance attributes.
Definition: gpmc/v0/gpmc.h:759
uint32_t inputClkFreq
Definition: gpmc/v0/gpmc.h:767
void * Buf
Definition: gpmc/v0/gpmc.h:592
uint32_t cycle2CycleDelay
Definition: gpmc/v0/gpmc.h:740
int32_t GPMC_setDeviceType(GPMC_Handle handle)
Function to set device type (NANDLIKE OR NORLIKE) for GPMC instance connected to external device.
@ GPMC_NAND_ECC_ALGO_HAMMING_1BIT
Definition: gpmc/v0/gpmc.h:486
uint32_t transferTimeout
Definition: gpmc/v0/gpmc.h:596
int32_t GPMC_eccCalculateBchSyndromePolynomial(GPMC_Handle handle, uint8_t *pEccdata, uint32_t sector)
Function to compute BCH syndrome polynomial for NAND write operation.
uint32_t timeLatency
Definition: gpmc/v0/gpmc.h:777
void GPMC_eccResultRegisterClear(GPMC_Handle handle)
Function to clear GPMC ECC result register.
uint32_t cycleOptimisation
Definition: gpmc/v0/gpmc.h:801
GPMC_OperatingMode
GPMC driver operating modes.
Definition: gpmc/v0/gpmc.h:498
@ GPMC_OPERATING_MODE_POLLING
Definition: gpmc/v0/gpmc.h:504
uint32_t chipSelAddrSize
Definition: gpmc/v0/gpmc.h:781
uint32_t devType
Definition: gpmc/v0/gpmc.h:629
GPMC_TransactionType transType
Definition: gpmc/v0/gpmc.h:588
int32_t GPMC_enableFlashWriteProtect(GPMC_Handle handle)
Function to disable WRITE protect line.
uint32_t numRowAddrCycles
Definition: gpmc/v0/gpmc.h:569
@ GPMC_NAND_ECC_ALGO_BCH_8BIT
Definition: gpmc/v0/gpmc.h:488
SemaphoreP_Object mutex
Definition: gpmc/v0/gpmc.h:683
uint32_t cmdCycle2
Definition: gpmc/v0/gpmc.h:565
@ GPMC_NAND_ECC_ALGO_BCH_16BIT
Definition: gpmc/v0/gpmc.h:489
uint32_t wrCycleTime
Definition: gpmc/v0/gpmc.h:736
@ GPMC_TRANSACTION_TYPE_READ
Definition: gpmc/v0/gpmc.h:533
HwiP_Object hwi
Definition: gpmc/v0/gpmc.h:681
@ GPMC_OPERATING_MODE_BLOCKING
Definition: gpmc/v0/gpmc.h:500
static void GPMC_Params_init(GPMC_Params *params)
Function to initialize the GPMC_Params struct to its defaults.
Definition: gpmc/v0/gpmc.h:1151
int32_t GPMC_setDeviceSize(GPMC_Handle handle)
Function to set device width for GPMC instance connected to external device.
uint32_t oeOnTime
Definition: gpmc/v0/gpmc.h:720
uint32_t oeAadMuxOffTime
Definition: gpmc/v0/gpmc.h:726
GPMC_TransferMode
GPMC data transfer modes.
Definition: gpmc/v0/gpmc.h:514
int32_t GPMC_eccGetBchSyndromePolynomial(GPMC_Handle handle, uint32_t sector, uint32_t *bchData)
Function to get BCH syndrome polynomial per sector NAND read operation.
void GPMC_close(GPMC_Handle handle)
Function to close a GPMC peripheral specified by the GPMC handle.
GPMC_timingParams timingParams
Definition: gpmc/v0/gpmc.h:787
uint32_t weOffTime
Definition: gpmc/v0/gpmc.h:718
uint32_t waitTimeout
Definition: gpmc/v0/gpmc.h:575
uint32_t intrEnable
Definition: gpmc/v0/gpmc.h:635
GPMC_Params params
Definition: gpmc/v0/gpmc.h:672
uint32_t advOnTime
Definition: gpmc/v0/gpmc.h:704
uint32_t colAddress
Definition: gpmc/v0/gpmc.h:571
uint32_t weOnTtime
Definition: gpmc/v0/gpmc.h:716
int32_t GPMC_disableFlashWriteProtect(GPMC_Handle handle)
Function to disable WRITE protect line.
@ GPMC_TRANSFER_MODE_BLOCKING
Definition: gpmc/v0/gpmc.h:516
@ GPMC_NAND_ECC_ALGO_BCH_4BIT
Definition: gpmc/v0/gpmc.h:487
GPMC_Handle GPMC_open(uint32_t index, const GPMC_Params *prms)
This function opens a given GPMC peripheral.
int32_t GPMC_eccValueSizeSet(GPMC_Handle handle, uint32_t eccSize, uint32_t eccSizeVal)
Function to set ECC used and unused bytes size in nibbles.
uint32_t oeAadMuxOnTime
Definition: gpmc/v0/gpmc.h:724
uint32_t elmBaseAddr
Definition: gpmc/v0/gpmc.h:765
@ GPMC_NAND_ECC_ALGO_NONE
Definition: gpmc/v0/gpmc.h:485
uint32_t csWrOffTime
Definition: gpmc/v0/gpmc.h:702
GPMC_nandEccAlgo eccAlgo
Definition: gpmc/v0/gpmc.h:789
uint32_t advAadMuxRdOffTime
Definition: gpmc/v0/gpmc.h:712
@ GPMC_TRANSFER_CANCELED
Definition: gpmc/v0/gpmc.h:550
uint32_t regionStartAddr
Definition: gpmc/v0/gpmc.h:655
uint32_t cycleDelayDiffChipSel
Definition: gpmc/v0/gpmc.h:745
uint32_t advWrOffTime
Definition: gpmc/v0/gpmc.h:708
GPMC timing parameters.
Definition: gpmc/v0/gpmc.h:697
@ GPMC_TRANSFER_TIMEOUT
Definition: gpmc/v0/gpmc.h:553
uint32_t numColAddrCycles
Definition: gpmc/v0/gpmc.h:573
@ GPMC_TRANSFER_STARTED
Definition: gpmc/v0/gpmc.h:549
SemaphoreP_Object transferComplete
Definition: gpmc/v0/gpmc.h:685
uint32_t gGpmcConfigNum
Externally defined driver configuration array size.
int32_t GPMC_eccBchFillSyndromeValue(GPMC_Handle handle, uint32_t sector, uint32_t *bchData)
Function to fill BCH syndrome value per sector to ELM module.
uint32_t advAadMuxWrOffTime
Definition: gpmc/v0/gpmc.h:714
@ GPMC_OPERATING_MODE_CALLBACK
Definition: gpmc/v0/gpmc.h:502
int32_t GPMC_eccBchSectorGetError(GPMC_Handle handle, uint32_t sector, uint32_t *errCount, uint32_t *errLoc)
Function to get number of errors per sector by ELM module.
const GPMC_AddrRegion * dmaRestrictedRegions
Definition: gpmc/v0/gpmc.h:803
GPMC_Handle handle
Definition: gpmc/v0/gpmc.h:668
uint32_t cmdCycle1
Definition: gpmc/v0/gpmc.h:563
uint32_t csRdOffTime
Definition: gpmc/v0/gpmc.h:700
uint32_t rowAddress
Definition: gpmc/v0/gpmc.h:567
int32_t GPMC_eccEngineEnable(GPMC_Handle handle)
Function to enable GPMC ECC engine.
void * arg
Definition: gpmc/v0/gpmc.h:594
GPMC driver instance parameters.
Definition: gpmc/v0/gpmc.h:623
@ GPMC_TRANSFER_MODE_CALLBACK
Definition: gpmc/v0/gpmc.h:521
uint32_t accessType
Definition: gpmc/v0/gpmc.h:797
int32_t GPMC_eccBchCheckErrorProcessingStatus(GPMC_Handle handle, uint32_t sector)
Function to get error processing status for a sector by ELM module.
uint32_t count
Definition: gpmc/v0/gpmc.h:590
uint32_t readType
Definition: gpmc/v0/gpmc.h:791
GPMC_Handle GPMC_getHandle(uint32_t driverInstanceIndex)
This function returns the handle of an open GPMC Instance from the instance index.
void * gpmcDmaHandle
Definition: gpmc/v0/gpmc.h:689
uint32_t GPMC_getInputClk(GPMC_Handle handle)
This function returns the input clk frequency GPMC was programmed at.
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:93
uint32_t chipSelBaseAddr
Definition: gpmc/v0/gpmc.h:779
uint32_t wrAcessTime
Definition: gpmc/v0/gpmc.h:732
@ GPMC_TRANSFER_COMPLETED
Definition: gpmc/v0/gpmc.h:548
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
GPMC_OperatingMode operMode
Definition: gpmc/v0/gpmc.h:674
Data structure to set NAND command parameters.
Definition: gpmc/v0/gpmc.h:562
int32_t gpmcDmaChIndex
Definition: gpmc/v0/gpmc.h:627
uint32_t clkDivider
Definition: gpmc/v0/gpmc.h:773
uint32_t chipSel
Definition: gpmc/v0/gpmc.h:633
uint32_t pageBurstAccess
Definition: gpmc/v0/gpmc.h:728
uint32_t dmaEnable
Definition: gpmc/v0/gpmc.h:637
GPMC_TransactionStatus status
Definition: gpmc/v0/gpmc.h:598
uint32_t checkReadypin
Definition: gpmc/v0/gpmc.h:577
GPMC_TransactionType
Type of the GPMC transaction for read and write.
Definition: gpmc/v0/gpmc.h:532
GPMC_nandEccAlgo
GPMC ECC engine algoritms.
Definition: gpmc/v0/gpmc.h:484
uint32_t advRdOffTime
Definition: gpmc/v0/gpmc.h:706
GPMC Address Region.
Definition: gpmc/v0/gpmc.h:654
GPMC_Transaction * transaction
Definition: gpmc/v0/gpmc.h:687
void GPMC_writeNandCommandParamsInit(GPMC_nandCmdParams *cmdParams)
Function to initialise GPMC_nandCmdParams structure to default values.
void(* GPMC_CallbackFxn)(GPMC_Handle handle, GPMC_Transaction *transaction)
The definition of a callback function used by the GPMC driver when used in GPMC_OPERATING_MODE_CALLBA...
Definition: gpmc/v0/gpmc.h:609
@ GPMC_TRANSACTION_TYPE_WRITE
Definition: gpmc/v0/gpmc.h:535
uint32_t wrDataOnMuxBusTime
Definition: gpmc/v0/gpmc.h:738
uint32_t addrDataMux
Definition: gpmc/v0/gpmc.h:775
GPMC_Config gGpmcConfig[]
Externally defined driver configuration array.
void GPMC_deinit(void)
This function de-initializes the GPMC module.
int32_t GPMC_eccBchStartErrorProcessing(GPMC_Handle handle, uint8_t sector)
Function to start error processing for a sector by ELM module.
int32_t GPMC_eccEngineBCHConfig(GPMC_Handle handle, uint32_t eccSteps)
Function to configure GPMC ECC engine for BCH algorithm.
GPMC_TransactionStatus
Transaction status codes that are set by the GPMC driver.
Definition: gpmc/v0/gpmc.h:547
uint32_t devSize
Definition: gpmc/v0/gpmc.h:631