mipicsiss
Vitis Drivers API Documentation
|
This file contains the Xilinx Menu implementation as used in the MIPI example design.
Please see xmipi_menu.h for more details.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 pg 12/07/17 Initial release.
Functions | |
void | Info (void) |
This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core. More... | |
void | EnableColorBar (XVphy *VphyPtr, XV_HdmiTxSs *HdmiTxSsPtr, XVidC_VideoMode VideoMode, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc) |
This function enables the ColorBar. More... | |
void | CloneTxEdid (void) |
This function clones the EDID of the connected sink device to the HDMI RX. More... | |
void | ResetTpg (void) |
This function resets TPG IP. More... | |
void | XV_ConfigTpg (XV_tpg *InstancePtr) |
This function generates video pattern. More... | |
void | EnableDSI () |
This function enables MIPI DSI SS. More... | |
void | Reset_IP_Pipe (void) |
This function resets image processing pipe. More... | |
void | CamReset (void) |
This function resets IMX274 camera sensor. More... | |
void | XMipi_MenuInitialize (XMipi_Menu *InstancePtr, u32 UartBaseAddress) |
This function takes care of the MIPI menu initialization. More... | |
void | XMipi_MenuReset (XMipi_Menu *InstancePtr) |
This function resets the menu to the main menu. More... | |
void | XMipi_MenuProcess (XMipi_Menu *InstancePtr) |
This function is called to trigger the MIPI menu state machine. More... | |
Variables | |
u8 | IsPassThrough |
Demo mode 0-colorbar 1-pass through. More... | |
XTpg_PatternId | Pattern |
Video pattern. More... | |
void CamReset | ( | void | ) |
This function resets IMX274 camera sensor.
void CloneTxEdid | ( | void | ) |
This function clones the EDID of the connected sink device to the HDMI RX.
void EnableColorBar | ( | XVphy * | VphyPtr, |
XV_HdmiTxSs * | HdmiTxSsPtr, | ||
XVidC_VideoMode | VideoMode, | ||
XVidC_ColorFormat | ColorFormat, | ||
XVidC_ColorDepth | Bpc | ||
) |
This function enables the ColorBar.
VphyPtr | is a pointer to the VPHY core instance. |
HdmiTxSsPtr | is a pointer to the XV_HdmiTxSs instance. |
VideoMode | is the resolution that is to be displayed |
ColorFormat | that can be RGB888 or YUV422 or YUV420 |
Bpc | is the Bits per color that can be 8 or 10 or 12 |
References I2cClk(), and IsPassThrough.
Referenced by main().
void EnableDSI | ( | void | ) |
void Info | ( | void | ) |
This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core.
In addition, it also prints information about HDMI TX, and HDMI GT cores.
In addition, it also prints information about HDMI TX, and HDMI GT cores.
None. |
In addition, it also prints information about HDMI TX, and HDMI GT cores.
None. |
void Reset_IP_Pipe | ( | void | ) |
This function resets image processing pipe.
void ResetTpg | ( | void | ) |
void XMipi_MenuInitialize | ( | XMipi_Menu * | InstancePtr, |
u32 | UartBaseAddress | ||
) |
This function takes care of the MIPI menu initialization.
InstancePtr | is a pointer to the XMipi_Menu instance. |
UartBaseAddress | points to the base address of PS uart. |
Referenced by main().
void XMipi_MenuProcess | ( | XMipi_Menu * | InstancePtr | ) |
This function is called to trigger the MIPI menu state machine.
InstancePtr | is a pointer to the XMipi_Menu instance. |
Referenced by main().
void XMipi_MenuReset | ( | XMipi_Menu * | InstancePtr | ) |
This function resets the menu to the main menu.
InstancePtr | is a pointer to the XMipi_Menu instance. |
void XV_ConfigTpg | ( | XV_tpg * | InstancePtr | ) |
This function generates video pattern.
InstancePtr | TPG Instance Pointer. |
References Pattern.
Referenced by main(), and StartTxAfterRx().
u8 IsPassThrough |
Demo mode 0-colorbar 1-pass through.
XTpg_PatternId Pattern |
Video pattern.
Referenced by main(), and XV_ConfigTpg().