xilsem
Vitis Drivers API Documentation
xsem_client_api.c File Reference

Functions

XStatus XSem_RegisterEvent (XIpiPsu *IpiInst, XSem_Notifier *Notifier)
 This function is used to register/un-register event notification with XilSEM Server. More...
 
XStatus XSem_CmdCfrInit (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to initialize CRAM scan from user application. More...
 
XStatus XSem_CmdCfrStartScan (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to start CRAM scan from user application. More...
 
XStatus XSem_CmdCfrStopScan (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to stop CRAM scan from user application. More...
 
XStatus XSem_CmdCfrNjctErr (XIpiPsu *IpiInst, XSemCfrErrInjData *ErrDetail, XSemIpiResp *Resp)
 This function is used to inject an error at a valid location in CRAM from user application. More...
 
XStatus XSem_CmdCfrGetStatus (XSemCfrStatus *CfrStatusInfo)
 This function is used to read all CRAM Status registers from PMC RAM and send to user application. More...
 
XStatus XSem_CmdCfrReadFrameEcc (XIpiPsu *IpiInst, u32 CframeAddr, u32 RowLoc, XSemIpiResp *Resp)
 This function is used to Read frame ECC of a particular Frame. More...
 
XStatus XSem_CmdNpiStartScan (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to start NPI scan from user application. More...
 
XStatus XSem_CmdNpiStopScan (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to stop NPI scan from user application. More...
 
XStatus XSem_CmdNpiInjectError (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to inject SHA error in NPI descriptor list (in the first NPI descriptor) from user application. More...
 
XStatus XSem_CmdNpiGetGldnSha (XIpiPsu *IpiInst, XSemIpiResp *Resp, XSem_DescriptorData *DescData)
 This function is used to get golden SHA. More...
 
XStatus XSem_CmdNpiGetStatus (XSemNpiStatus *NpiStatusInfo)
 This function is used to read all NPI Status registers from PMC RAM and send to user application. More...
 
XStatus XSem_CmdGetConfig (XIpiPsu *IpiInst, XSemIpiResp *Resp)
 This function is used to read CRAM & NPI configuration. More...
 
u32 XSem_CmdCfrGetCrc (u32 RowIndex)
 This function is used to read CFRAME golden CRC for a row. More...
 
void XSem_CmdCfrGetTotalFrames (u32 RowIndex, u32 *FrameCntPtr)
 This function is used to read total frames in a row. More...