v_hdmirxss1
Vitis Drivers API Documentation
xv_hdmirxss1_log.c File Reference

Overview

Note
None.
MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00 EB 22/05/18 Initial release.

Functions

void XV_HdmiRxSs1_LogReset (XV_HdmiRxSs1 *InstancePtr)
 This function will reset the driver's logging mechanism. More...
 
void XV_HdmiRxSs1_LogWrite (XV_HdmiRxSs1 *InstancePtr, XV_HdmiRxSs1_LogEvent Evt, u8 Data)
 This function will insert an event in the driver's logginc mechanism. More...
 
u16 XV_HdmiRxSs1_LogRead (XV_HdmiRxSs1 *InstancePtr)
 This function will read the last event from the log. More...
 
void XV_HdmiRxSs1_LogDisplay (XV_HdmiRxSs1 *InstancePtr)
 This function will print the entire log. More...
 

Function Documentation

u16 XV_HdmiRxSs1_LogRead ( XV_HdmiRxSs1 InstancePtr)

This function will read the last event from the log.

Parameters
InstancePtris a pointer to the XV_HdmiRxSs1 core instance.
Returns
The log data.
Note
None.

References XV_HdmiRxSs1_Log::DataBuffer, XV_HdmiRxSs1_Log::HeadIndex, XV_HdmiRxSs1::Log, and XV_HdmiRxSs1_Log::TailIndex.

Referenced by XV_HdmiRxSs1_LogDisplay().

void XV_HdmiRxSs1_LogReset ( XV_HdmiRxSs1 InstancePtr)

This function will reset the driver's logging mechanism.

Parameters
InstancePtris a pointer to the xv_hdmirxss1 core instance.
Returns
None.
Note
None.

References XV_HdmiRxSs1_Log::HeadIndex, XV_HdmiRxSs1::Log, and XV_HdmiRxSs1_Log::TailIndex.

void XV_HdmiRxSs1_LogWrite ( XV_HdmiRxSs1 InstancePtr,
XV_HdmiRxSs1_LogEvent  Evt,
u8  Data 
)

This function will insert an event in the driver's logginc mechanism.

Parameters
InstancePtris a pointer to the XV_HdmiRxSs1 core instance.
Evtis the event type to log.
Datais the associated data for the event.
Returns
None.
Note
None.

References XV_HdmiRxSs1_Log::DataBuffer, XV_HdmiRxSs1_Log::HeadIndex, XV_HdmiRxSs1::Log, XV_HdmiRxSs1::LogWriteCallback, XV_HdmiRxSs1::LogWriteRef, XV_HdmiRxSs1_Log::TailIndex, XV_HdmiRxSs1_Log::TimeRecord, and XV_HDMIRXSS1_LOG_EVT_DUMMY.

Referenced by XV_HdmiRxSs1_FrlStartCallback(), XV_HdmiRxSs1_RefClockChangeInit(), XV_HdmiRxSs1_Reset(), XV_HdmiRxSs1_SetStream(), XV_HdmiRxSs1_Start(), XV_HdmiRxSs1_Stop(), and XV_HdmiRxSs1_SubcoreInitHdmiRx1().