Hi Is there some example how i can create multiple sodtware interrupts through the SVC_Handler ?
For now i am only able to call one software interrupt.
The code (swi.s) i used for the lpc21xx does not work on the lpc1111
Is there some code example ? i want to use the svchandlers to execute code that must not be interrupted by other interrupts.
Johan
> I dont want to disable the interrupts, here is how it worked on lpc 21xx
Sure, but why not? The effect of using an SVC (formerly known as SWI) to prevent interrupts from becoming active is no different from disabling them. In fact, the latter is a lot easier to program and likely more efficient (both, size and performance).
Regards Marcus http://www.doulos.com/arm/
PS: Please use proper tags if you post code