title: How to disable/enable interrupts on a stm32f107 chip?
body: <p>I have an ARM stm32f107 chip. I'm porting a project from IAR to GCC</p>
  
  <p>IAR provides the following functions to enable and disable interrupts:</p>
  
  <pre><code>#define __disable_interrupt() ...
  #define __enable_interrupt() ...
  </code></pre>
  
  <p>How do I enable / disable interrupt for my chip using GCC?</p>