This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28335 interrupt

Hi to everybody,

,I have a question about interrupt on dsp28335.  

I kow that PIEIER1.bit.INTx5  can set 1 or 0 when I want to use XINT2.

Before I set PIEIER1.bit.INTx5  at 1, I am afraid that signal will occur flag of INTx5 =1.

(because before PIEIER1.bit.INTx5=1, the signal have  been produced)

Can I clear flag of INTx5 by PIEIER1.bit.INTx5=0?

Or have any way can clear flag of INTx5?

I will appreciate your help with this situation.