This function is used to read all CRAM Status registers from PMC RAM and send to user application.
Prototype
XStatus XSem_CmdCfrGetStatus(XSemCfrStatus *CfrStatusInfo);
Parameters
The following table lists the XSem_CmdCfrGetStatus
function arguments.
Type | Member | Description |
---|---|---|
XSemCfrStatus
* |
CfrStatusInfo | Structure Pointer with CRAM Status details CfrStatusInfo->Status: Provides details about CRAM scan
|
XSemCfrStatus
* |
CfrStatusInfo |
|
XSemCfrStatus
* |
CfrStatusInfo |
CfrStatusInfo->ErrAddrL: This stores the low address of the last 7 corrected error details if correction is enabled in design.
CfrStatusInfo->ErrAddrH: This stores the high address of the last 7 corrected error details if correction is enabled in design.
CfrStatusInfo->ErrCorCnt: Counter value of Correctable Error Bits |
Returns
This API returns the success or failure.- XST_FAILURE: If NULL pointer reference of CfrStatusInfo
- XST_SUCCESS: On successful read from PMC RAM