Disable/Enable all interrupts on LPC1114

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by mohsin on Wed Dec 15 11:36:52 MST 2010
Hi All,
          Can anyone please let me know how to disable and enable all interrupts through a single command on LPC1114?

I need to protect some critical sections by disabling all interrupts before going inside  and then enabling them once the critical section is done.