vprocss
Vitis Drivers API Documentation
xvprocss_log.c File Reference

Functions

void XVprocSs_LogReset (XVprocSs *InstancePtr)
 This function will reset the driver's logging mechanism. More...
 
void XVprocSs_LogWrite (XVprocSs *InstancePtr, XVprocSs_LogEvent Evt, u8 Data)
 This function will insert an event in the driver's logging mechanism. More...
 
u16 XVprocSs_LogRead (XVprocSs *InstancePtr)
 This function will read the last event from the log. More...
 
void XVprocSs_LogDisplay (XVprocSs *InstancePtr)
 This function will read and print the entire event log. More...
 

Function Documentation

u16 XVprocSs_LogRead ( XVprocSs InstancePtr)

This function will read the last event from the log.

Parameters
InstancePtris a pointer to the XVprocSs core instance.
Returns
The log data.
Note
The read is "destructive" in the sense an event may only be read once, the read pointer then advancing to the next entry. After reading all the events (see routine XVprocSs_LogDisplay), the log will be empty.

References XVprocSs::Log, XVPROCSS_EVT_BUFFSIZE, and XVPROCSS_EVT_NONE.

Referenced by XVprocSs_LogDisplay().

void XVprocSs_LogReset ( XVprocSs InstancePtr)

This function will reset the driver's logging mechanism.

Parameters
InstancePtris a pointer to the XVprocSs core instance.
Returns
None.
Note
HeadIndex == TailIndex means that the log is empty.

References XVprocSs::Log.

Referenced by XSys_Init().