dppsu
Vitis Drivers API Documentation
|
This file contains a diagnostic self-test function for the XDpPsu driver.
It will check many of the DisplayPort TX's register values against the default reset values as a sanity-check that the core is ready to be used.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 aad 01/17/17 Initial release. 1.1 aad 10/04/17 Removed not applicable registers
Functions | |
u32 | XDpPsu_SelfTest (XDpPsu *InstancePtr) |
This function runs a self-test on the XDpPsu driver/device. More... | |
Variables | |
u32 | ResetValues [XDPPSU_NUM_RESET_VALUES][2] |
This table contains the default values for the DisplayPort TX core's general usage registers. More... | |
u32 | ResetValuesMsa [XDPPSU_NUM_MSA_RESET_VALUES][2] |
This table contains the default values for the DisplayPort TX core's main stream attribute (MSA) registers. More... | |
u32 XDpPsu_SelfTest | ( | XDpPsu * | InstancePtr | ) |
This function runs a self-test on the XDpPsu driver/device.
The sanity test checks whether or not all tested registers hold their default reset values.
InstancePtr | is a pointer to the XDpPsu instance. |
References XDpPsu_Config::BaseAddr, XDpPsu::Config, ResetValues, ResetValuesMsa, and XDpPsu_ReadReg.
Referenced by DpPsu_SelfTestExample().
u32 ResetValues[XDPPSU_NUM_RESET_VALUES][2] |
This table contains the default values for the DisplayPort TX core's general usage registers.
Referenced by XDpPsu_SelfTest().
u32 ResetValuesMsa[XDPPSU_NUM_MSA_RESET_VALUES][2] |
This table contains the default values for the DisplayPort TX core's main stream attribute (MSA) registers.
Referenced by XDpPsu_SelfTest().