Hi....
There is another question,could you tell me how to clear the DMA_MajorInterrupt? And I can't clear it via codes "DMA0->CINT |= DMA_CINT_CINT_MASK" or "DMA0->CINT |= DMA_CINT_CAIR_MASK"
So,I always go to my "void DMA0_DMA16_IRQHandler(void)" AND can't go out......
Please......
Hi 卢 鲲,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
The below code is only used to clear the interrupt request, it can't disable the interrupt function.
If you want to disable the interrupt, clearing the bit in ERQ is the correct way.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------