I am using CubeSuite environment and ccrl compiler to build software, and in my code I want to disable all interrupts before performing memory write operation and enable all interrupt once the operation is completed.
How can I do that, any document or demo code would be of great help?