Interrupt Handling

Versal ACAP Technical Reference Manual (AM011)

Document ID
AM011
Release Date
2022-04-26
Revision
1.4 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.