Hi Ariela,
K66 is the ARM cortex -M4 core, about the interrupt register, you can find it in the ARM cortex M4 core document, please go to this link:
ARM Information Center
CPSIE I Enable interrupts (clear PRIMASK). Same as __enable_irq();
CPSID I Disable interrupts (set PRIMASK). NMI and HardFault are not affected. Same as __disable_irq();
Wish it helps you!
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------