Hello,
Anybody knows how disable global interrupts on STR912FAW44 using MDK-ARM 4.12 toolchain? I'd need to protect some routines from VIC0 and VIC1 interrupt requests. In other words the execution of these routines must be atomic.
Thanks in advance, Gaston
You can do it in the VIC itself, or via the CPSR. Check your user manual - maybe there are specific ways for this chip that I'm not aware of right now. Note that you probably need to be in supervisor mode to do it.
Or you can write your code in a SWI function, assuming it works the same on a ARM9 chip.
"Or you can write your code in a SWI function, assuming it works the same on a ARM9 chip."
Yes, it does.
View all questions in Keil forum