Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Using HAL with DMA question

I am moving from NIOSI to NIOSII. I have an interrupt where if we are still DMA'ing, I just want to return from the interrupt. Before, I just had the following if statement to check the status of the DMA operation:

if((na_USB_DMA->np_dmastatus & np_dmastatus_busy_mask) != 0)

How do I do this using HAL?

thanx

2 Replies