I'm still trying to get my head around the IMXRT processor...
What is the difference between clearing the PRIMASK register and the CPSIDI instruction?
I read all that; which is precisely why I asked the question...
The documentation --as far as I can tell-- seems to indicate that they both do the same thing...
The TRM for M7 from ARM basically has the same stuff. I'll keep digging, if I find an answer
I'll post it here...
Hi Ed Sutter，
My understanding is:
From the function viewpoint, PRIMASK=1 is the same as CPSID I;
CPSID I is the instruction which can control PRIMASK quickly. If you just use the register code to control PRIMASK, the total execution time should longer than CPSID I.
Wish it helps you!
If you still have questions about it, please kindly let me know.