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