On 11-07-2008 at 14:08, Anonymous wrote:
I suggest to do it using inline assembler instructions, it is the most efficient way. I don't know how asm inlining it is done using IAR, I usually use GCC.
You may use the "cpsid i" instruction in order to disable interrupts and "cpsie i" to enable them again.
Another option is to modify the BASEPRI register with the "msr" instruction in order to modify the minimum serviceable interrupt priority.
Retrieving data ...