dp: rx: Added a function to enable the display timing generator.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
5d03fa54da
commit
f5c0d7b518
2 changed files with 8 additions and 0 deletions
|
@ -117,6 +117,13 @@ void XDprx_CfgInitialize(XDprx *InstancePtr, XDp_Config *ConfigPtr,
|
|||
InstancePtr->IsReady = XIL_COMPONENT_IS_READY;
|
||||
}
|
||||
|
||||
void XDprx_DtgEn(XDprx *InstancePtr)
|
||||
{
|
||||
XDprx_WriteReg(InstancePtr->Config.BaseAddr, XDPRX_SOFT_RESET, 0x01);
|
||||
XDprx_WriteReg(InstancePtr->Config.BaseAddr, XDPRX_SOFT_RESET, 0x00);
|
||||
XDprx_WriteReg(InstancePtr->Config.BaseAddr, XDPRX_DTG_ENABLE, 0x01);
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/**
|
||||
* This function installs a custom delay/sleep function to be used by the XDprx
|
||||
|
|
|
@ -90,6 +90,7 @@ void XDprx_CfgInitialize(XDprx *InstancePtr, XDp_Config *ConfigPtr,
|
|||
u32 EffectiveAddr);
|
||||
|
||||
/* xdprx.c: General usage functions. */
|
||||
void XDprx_DtgEn(XDprx *InstancePtr);
|
||||
void XDprx_SetUserTimerHandler(XDprx *InstancePtr,
|
||||
XDp_TimerHandler CallbackFunc, void *CallbackRef);
|
||||
void XDprx_WaitUs(XDprx *InstancePtr, u32 MicroSeconds);
|
||||
|
|
Loading…
Add table
Reference in a new issue