![]() |
PDK API Guide for J721E
|
Functions | |
| uint32_t | CSL_emifGetRevision (CSL_emif_sscfgRegs *pEmifSsRegs) |
| Return revision of the EMIF subsystem module. More... | |
| int32_t | CSL_emifConfig (CSL_emif_sscfgRegs *pEmifSsRegs, CSL_EmifConfig *pCfg) |
| Configure EMIF. More... | |
| int32_t | CSL_emifEnableECC (CSL_emif_sscfgRegs *pEmifSsRegs) |
| Enables ECC. More... | |
| int32_t | CSL_emifDisableECC (CSL_emif_sscfgRegs *pEmifSsRegs) |
| Disables ECC. More... | |
| int32_t | CSL_emifGetECCErrorInfo (CSL_emif_sscfgRegs *pEmifSsRegs, CSL_ECCErrorInfo *pECCErrorInfo) |
| Get ECC error information. More... | |
| int32_t | CSL_emifClearAllECCErrors (CSL_emif_sscfgRegs *pEmifSsRegs) |
| Clears all ECC errors. More... | |
| int32_t | CSL_emifClearECCError (CSL_emif_sscfgRegs *pEmifSsRegs, CSL_EmifECCErrorType errorType) |
| Clears ECC error. More... | |
| int32_t | CSL_emifEnableECCInterrupts (CSL_emif_sscfgRegs *pEmifSsRegs, uint32_t eccInterruptBitmap) |
| Enables ECC interrupts. More... | |
| int32_t | CSL_emifDisableECCInterrupts (CSL_emif_sscfgRegs *pEmifSsRegs, uint32_t eccInterruptBitmap) |
| Disables ECC interrupts. More... | |
| int32_t | CSL_emifClearECCInterruptStatus (CSL_emif_sscfgRegs *pEmifSsRegs, uint32_t eccInterruptBitmap) |
| Clear ECC interrupt status. More... | |
| uint32_t CSL_emifGetRevision | ( | CSL_emif_sscfgRegs * | pEmifSsRegs | ) |
Return revision of the EMIF subsystem module.
This function returns the contents of the EMIF subsystem revision register. Consult the EMIF subsystem module documentation for a description of the contents of the revision register.
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| int32_t CSL_emifConfig | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| CSL_EmifConfig * | pCfg | ||
| ) |
Configure EMIF.
This function performs the proper configuration sequence for the SDRAM controller and PHY per the specified configuration parameters.
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| pCfg | [IN] Pointer to the EMIF configuration structure. See CSL_EmifConfig for details. |
| int32_t CSL_emifEnableECC | ( | CSL_emif_sscfgRegs * | pEmifSsRegs | ) |
Enables ECC.
This function enables ECC
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| int32_t CSL_emifDisableECC | ( | CSL_emif_sscfgRegs * | pEmifSsRegs | ) |
Disables ECC.
This function disables ECC
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| int32_t CSL_emifGetECCErrorInfo | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| CSL_ECCErrorInfo * | pECCErrorInfo | ||
| ) |
Get ECC error information.
This function reads the registers and provides details of the last ECC error
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| pECCErrorInfo | [OUT] Pointer to the EMIF ECC Error info structure. |
| int32_t CSL_emifClearAllECCErrors | ( | CSL_emif_sscfgRegs * | pEmifSsRegs | ) |
Clears all ECC errors.
This function clears , both single bit and double bit errors in queue
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| int32_t CSL_emifClearECCError | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| CSL_EmifECCErrorType | errorType | ||
| ) |
Clears ECC error.
This function clear one ECC error of specified type
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| errorType | [IN] |
| int32_t CSL_emifEnableECCInterrupts | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| uint32_t | eccInterruptBitmap | ||
| ) |
Enables ECC interrupts.
This function enables ECC interrupts
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| eccInterruptBitmap | [IN] ECC interrupt bitmap to enable interrupt |
| int32_t CSL_emifDisableECCInterrupts | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| uint32_t | eccInterruptBitmap | ||
| ) |
Disables ECC interrupts.
This function disables ECC interrupts
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| eccInterruptBitmap | [IN] ECC interrupt bitmap to disable interrupt |
| int32_t CSL_emifClearECCInterruptStatus | ( | CSL_emif_sscfgRegs * | pEmifSsRegs, |
| uint32_t | eccInterruptBitmap | ||
| ) |
Clear ECC interrupt status.
This function clears ECC interrupt status
| pEmifSsRegs | [IN] Pointer to the EMIF Subsystem register space base. |
| eccInterruptBitmap | [IN] ECC interrupt bitmap to clear interrupt status |