Clear DMA Interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Clear DMA Interrupt

1,336件の閲覧回数
1277185193
Contributor III

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......

0 件の賞賛
返信
1 返信

1,247件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------