![]() |
vphy
Vitis Drivers API Documentation
|
This file contains functions related to XVphy interrupt handling.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 als 10/19/15 Initial release. 1.4 gm 29/11/16 Added XVphy_CfgErrIntr for ERR_IRQ impl 1.6 gm 06/08/17 Added TX and RX MMCM locked handlers
Functions | |
| void | XVphy_IntrEnable (XVphy *InstancePtr, XVphy_IntrHandlerType Intr) |
| This function enables interrupts associated with the specified interrupt type. More... | |
| void | XVphy_IntrDisable (XVphy *InstancePtr, XVphy_IntrHandlerType Intr) |
| This function disabled interrupts associated with the specified interrupt type. More... | |
| void | XVphy_SetIntrHandler (XVphy *InstancePtr, XVphy_IntrHandlerType HandlerType, XVphy_IntrHandler CallbackFunc, void *CallbackRef) |
| This function installs a callback function for the specified handler type. More... | |
| void | XVphy_InterruptHandler (XVphy *InstancePtr) |
| This function is the interrupt handler for the XVphy driver. More... | |
| void | XVphy_CfgErrIntr (XVphy *InstancePtr, XVphy_ErrType ErrIrq, u8 Set) |
| This function configures the error IRQ register based on the condition to generate an ERR_IRQ event. More... | |
| void XVphy_InterruptHandler | ( | XVphy * | InstancePtr | ) |
This function is the interrupt handler for the XVphy driver.
It will detect what kind of interrupt has happened, and will invoke the appropriate callback function.
| InstancePtr | is a pointer to the XVphy instance. |
References XVphy_Config::BaseAddr, XVphy::Config, XVphy::IntrCpllLockCallbackRef, XVphy::IntrCpllLockHandler, XVphy::IntrQpll1LockCallbackRef, XVphy::IntrQpll1LockHandler, XVphy::IntrQpllLockCallbackRef, XVphy::IntrQpllLockHandler, XVphy::IntrRxClkDetFreqChangeCallbackRef, XVphy::IntrRxClkDetFreqChangeHandler, XVphy::IntrRxMmcmLockCallbackRef, XVphy::IntrRxMmcmLockHandler, XVphy::IntrRxResetDoneCallbackRef, XVphy::IntrRxResetDoneHandler, XVphy::IntrRxTmrTimeoutCallbackRef, XVphy::IntrRxTmrTimeoutHandler, XVphy::IntrTxAlignDoneCallbackRef, XVphy::IntrTxAlignDoneHandler, XVphy::IntrTxClkDetFreqChangeCallbackRef, XVphy::IntrTxClkDetFreqChangeHandler, XVphy::IntrTxMmcmLockCallbackRef, XVphy::IntrTxMmcmLockHandler, XVphy::IntrTxResetDoneCallbackRef, XVphy::IntrTxResetDoneHandler, XVphy::IntrTxTmrTimeoutCallbackRef, XVphy::IntrTxTmrTimeoutHandler, XVphy::IsReady, XVPHY_INTR_STS_REG, and XVphy_ReadReg.