Interrupt Handling

Versal Adaptive SoC Technical Reference Manual (AM011)

Document ID
Release Date
1.6 English

Follow these steps to perform interrupt handling.

  1. Read the status from the LPD_DMA.CH_ISR register.
  2. If the [DMA_DONE] bit is set, mark the channel state as idle in the software context.
  3. Check if the [DMA_PAUSE] bit is set. If yes, set the channel state to paused in the software context.
  4. If any other error bit is set, set the channel as idle in the software context.
  5. Clear the interrupt status from the LPD_DMA.CH_ISR register by writing back the value read in step 1.