AM62x MCU+ SDK  10.01.00

Introduction

This file contains DDR APIs.

Go to the source code of this file.

Data Structures

struct  DDR_EccRegion
 DDR Inline ECC region The structure specifies the DDR inline ECC region start and End address. More...
 
struct  DDR_Params
 DDR config structure. More...
 
struct  DDR_ECCErrorInfo
 Emif ECC Error Information structure. More...
 

Macros

DDR ECC error type

#define DDR_ECC_1B_ERROR   (0U)
 
#define DDR_ECC_2B_ERROR   (1U)
 
#define DDR_ECC_ERR_ALL   (2U)
 

Functions

void DDR_Params_init (DDR_Params *prms)
 Set default values to DDR_Params. More...
 
int32_t DDR_init (DDR_Params *prms)
 DDR4 Initialization function. More...
 
void DDR_enableInlineECC (uint8_t enableFlag)
 Enable/Disable DDR inline ECC. More...
 
int32_t DDR_clearECCError (uint8_t errorType)
 Clear ECC errors for DDR. More...
 
int32_t DDR_getECCErrorInfo (DDR_ECCErrorInfo *ECCErrorInfo)
 Get ECC error status. More...
 
uint8_t DDR_isInitDone (void)
 Check if DDR init is done. More...