v_hdmirxss
Vitis Drivers API Documentation
xv_hdmirxss_log.c File Reference

Overview

Note
None.
MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 YH 17/08/16 Initial release. 1.01 MMO 03/01/17 Add compiler option(XV_HDMIRXSS_LOG_ENABLE) to enable Log 1.4 YH 07/07/17 Add new log type XV_HDMIRXSS_LOG_EVT_SETSTREAM_ERR 5.0 EB 16/01/18 Added new log XV_HDMIRXSS_LOG_EVT_PIX_REPEAT_ERR 23/01/18 Minor cleanup MMO 05/02/18 Added new log XV_HDMIRXSS_LOG_EVT_SYNCEST 5.4 EB 06/08/19 Added new log XV_HDMIRXSS_LOG_EVT_VICERROR

Functions

void XV_HdmiRxSs_LogReset (XV_HdmiRxSs *InstancePtr)
 This function will reset the driver's logging mechanism. More...
 
void XV_HdmiRxSs_LogWrite (XV_HdmiRxSs *InstancePtr, XV_HdmiRxSs_LogEvent Evt, u8 Data)
 This function will insert an event in the driver's logginc mechanism. More...
 
u16 XV_HdmiRxSs_LogRead (XV_HdmiRxSs *InstancePtr)
 This function will read the last event from the log. More...
 
void XV_HdmiRxSs_LogDisplay (XV_HdmiRxSs *InstancePtr)
 This function will print the entire log. More...
 

Function Documentation

u16 XV_HdmiRxSs_LogRead ( XV_HdmiRxSs InstancePtr)

This function will read the last event from the log.

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

References XV_HdmiRxSs_Log::DataBuffer, XV_HdmiRxSs_Log::HeadIndex, XV_HdmiRxSs::Log, and XV_HdmiRxSs_Log::TailIndex.

Referenced by XV_HdmiRxSs_LogDisplay().

void XV_HdmiRxSs_LogReset ( XV_HdmiRxSs InstancePtr)

This function will reset the driver's logging mechanism.

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

References XV_HdmiRxSs_Log::HeadIndex, XV_HdmiRxSs::Log, and XV_HdmiRxSs_Log::TailIndex.

void XV_HdmiRxSs_LogWrite ( XV_HdmiRxSs InstancePtr,
XV_HdmiRxSs_LogEvent  Evt,
u8  Data 
)

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

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

References XV_HdmiRxSs_Log::DataBuffer, XV_HdmiRxSs_Log::HeadIndex, XV_HdmiRxSs::Log, XV_HdmiRxSs_Log::TailIndex, and XV_HDMIRXSS_LOG_EVT_DUMMY.

Referenced by XV_HdmiRxSs_RefClockChangeInit(), XV_HdmiRxSs_Reset(), XV_HdmiRxSs_SetStream(), XV_HdmiRxSs_Start(), XV_HdmiRxSs_Stop(), and XV_HdmiRxSs_SubcoreInitHdmiRx().