dp: rx: Added a function to generate an HPD.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
f588c504e9
commit
8593e4f84a
2 changed files with 7 additions and 0 deletions
|
@ -188,6 +188,7 @@ void XDprx_WaitUs(XDprx *InstancePtr, u32 MicroSeconds);
|
||||||
|
|
||||||
/* xdprx_intr.c: Interrupt handling functions. */
|
/* xdprx_intr.c: Interrupt handling functions. */
|
||||||
void XDprx_InterruptHandler(XDprx *InstancePtr);
|
void XDprx_InterruptHandler(XDprx *InstancePtr);
|
||||||
|
void XDprx_GenerateHpdInterrupt(XDprx *InstancePtr, u16 DurationUs);
|
||||||
void XDprx_SetIntrVmChangeHandler(XDprx *InstancePtr,
|
void XDprx_SetIntrVmChangeHandler(XDprx *InstancePtr,
|
||||||
XDprx_IntrHandler CallbackFunc, void *CallbackRef);
|
XDprx_IntrHandler CallbackFunc, void *CallbackRef);
|
||||||
void XDprx_SetIntrPowerStateHandler(XDprx *InstancePtr,
|
void XDprx_SetIntrPowerStateHandler(XDprx *InstancePtr,
|
||||||
|
|
|
@ -152,6 +152,12 @@ void XDprx_InterruptHandler(XDprx *InstancePtr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void XDprx_GenerateHpdInterrupt(XDprx *InstancePtr, u16 DurationUs)
|
||||||
|
{
|
||||||
|
XDprx_WriteReg(InstancePtr->Config.BaseAddr, XDPRX_HPD_INTERRUPT,
|
||||||
|
(DurationUs << 16) | 0x1);
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/**
|
/**
|
||||||
* This function installs a callback function for when a video mode change
|
* This function installs a callback function for when a video mode change
|
||||||
|
|
Loading…
Add table
Reference in a new issue