This module contains APIs to program and use the DDR module. See DDR for more details.
◆ DDR_ECC_1B_ERROR
#define DDR_ECC_1B_ERROR (0U) |
◆ DDR_ECC_2B_ERROR
#define DDR_ECC_2B_ERROR (1U) |
◆ DDR_ECC_ERR_ALL
#define DDR_ECC_ERR_ALL (2U) |
◆ DDR_Params_init()
Set default values to DDR_Params.
- Parameters
-
prms | [out] Pointer to DDR configuration. |
◆ DDR_init()
DDR4 Initialization function.
Initializes the DDR timing parameters. Sets the DDR timing parameters
based in the DDR PLL controller configuration.
Any changes to DDR PLL requires change to DDR timing.
- Parameters
-
prms | [in] Pointer to DDR configuration. |
- Returns
- status SystemP_SUCCESS in case of success or appropriate error code
◆ DDR_enableInlineECC()
void DDR_enableInlineECC |
( |
uint8_t |
enableFlag | ) |
|
Enable/Disable DDR inline ECC.
- Parameters
-
enableFlag | [in] Flag to enable or disable DDR Inline ECC |
◆ DDR_clearECCError()
int32_t DDR_clearECCError |
( |
uint8_t |
errorType | ) |
|
Clear ECC errors for DDR.
- Parameters
-
errorType | [in] DDR ECC error type (single bit/two bit ECC) |
- Returns
- status SystemP_SUCCESS in case of success or appropriate error code
◆ DDR_getECCErrorInfo()
Get ECC error status.
- Parameters
-
ECCErrorInfo | [out] Get DDR ECC error bit status |
- Returns
- status SystemP_SUCCESS in case of success or appropriate error code