This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SM470R1B1M Interrupt Enable

Afternoon all,

I am sadly forced to use Keil tools to generate code for this processor. Porting the code hasn't been a problem since everything is low level register access. However, IAR have gone all clever with the __enable_interrupt(); macro. 

Since it's an example I would prefer not to try second guess what it does - perhaps someone with a working compiler setup and better knowledge of the processor could clarify what this function does for me so I can recreate it in Keil. If there are significant differences, perhaps also the disable function. 

Kind thanks. 

  • Andrew, I apologize for delay.  I thought I replied to this thread.

    I searched through available documentation, and I was not able to find information on IARs definition of the enable or disable interrupts.

    There is information on interrupts and the CIM in the systems module reference.
     http://www.ti.com/lit/pdf/spnu189

    Regards,

    Wade