Interrupt Handling

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

Interrupt handling is done by following these steps.

1.Read the status from the ZDMA_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.In case any other error bit is set, set the channel as IDLE in the software context.

5.Clear the interrupt status from the ZDMA_CH_ISR register by writing back value read in step 1.