![]() |
dp12
Xilinx SDK Drivers API Documentation
|
Contains a design example using the XDp driver (operating in TX mode) with polling.
Once the polling detects a Hot-Plug-Detect event (HPD - DisplayPort cable is plugged/unplugged or the monitor is turned on/off), the main link will be trained.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 als 01/20/15 Initial creation. 5.1 ms 01/23/17 Added xil_printf statement in main function to ensure that "Successfully ran" and "Failed" strings are available in all examples. This is a fix for CR-965028.
Functions | |
u32 | Dptx_PollExample (XDp *InstancePtr, u16 DeviceId) |
The main entry point for the polling example using the XDp driver. More... | |
int | main (void) |
This function is the main function of the XDp polling example. More... | |
u32 Dptx_PollExample | ( | XDp * | InstancePtr, |
u16 | DeviceId | ||
) |
The main entry point for the polling example using the XDp driver.
This function will set up the system. If this is successful, this example will begin polling the Hot-Plug-Detect (HPD) status registers for HPD events. Once a connection event or a pulse is detected, link training will commence (if needed) and a video stream will start being sent over the main link.
InstancePtr | is a pointer to the XDp instance. |
DeviceId | is the unique device ID of the DisplayPort TX core instance. |
Referenced by main().
int main | ( | void | ) |
This function is the main function of the XDp polling example.
None. |
References Dptx_PollExample().