dpdma: xdpdma_intr.c File Reference

| dpdma Xilinx SDK Drivers API Documentation

- Overview
- APIs
- File List

Functions
xdpdma_intr.c File Reference

## Overview

This file contains functions related to XDpPsu interrupt handling.

Note
  None.

    MODIFICATION HISTORY:

    Ver   Who  Date     Changes

    1.0   aad  01/17/17 Initial release.

## Functions
void | XDpDma_InterruptEnable (XDpDma *InstancePtr, u32 Mask)
| This function enables the interrupts that are required. More...
void | XDpDma_InterruptHandler (XDpDma *InstancePtr)
| This function handles the interrupts generated by DPDMA. More...
void | XDpDma_VSyncHandler (XDpDma *InstancePtr)
| This function handles frame new frames on VSync. More...

## Function Documentation

void XDpDma_InterruptEnable | ( | XDpDma * | InstancePtr,
|  | u32 | Mask
| ) |  |

This function enables the interrupts that are required.

Parameters

  InstancePtr | is pointer to the instance of DPDMA
  Mask | is mask to XDPDMA_IEN register

Returns
  None.

Note
  None.

References XDPDMA_IEN, and XDpDma_WriteReg.

Referenced by SetupInterrupts().

void XDpDma_InterruptHandler | ( | XDpDma * | InstancePtr | ) |

This function handles the interrupts generated by DPDMA.

Parameters

  InstancePtr | is pointer to the instance of the DPDMA

Returns
  None.

Note
  None.

References XDPDMA_ISR, XDpDma_ReadReg, XDpDma_SetChannelState(), XDpDma_VSyncHandler(), and XDpDma_WriteReg.

Referenced by SetupInterrupts().

void XDpDma_VSyncHandler | ( | XDpDma * | InstancePtr | ) |

This function handles frame new frames on VSync.

Parameters

  InstancePtr | is pointer to the instance of the driver.

Returns
  None.

Note
  None.

References XDPDMA_ISR, XDpDma_ReTrigger(), XDpDma_SetChannelState(), XDpDma_SetupChannel(), XDpDma_Trigger(), and XDpDma_WriteReg.

Referenced by XDpDma_InterruptHandler().