2008-01-13 10:42 PM
2011-05-17 12:49 AM
Look in the Keil directory for the swi example.
Cheers sjo2011-05-17 12:49 AM
Hello,
I am using the Keil uVision with the STR91x.lib. Now I want to implement a software interrupt with the SWI_Handler(void) in 91x_it.c. If I call SWI_Handler() in the main(), it's jumping to SWI_Handler(void) in 91x_it.c. But the system is in user mode. How have I handle software interrupts?? I can't find an example with SWI_Handler from ST. Thanks2011-05-17 12:49 AM
The SWI_Handler will called in supervisor-mode with following:
void __swi(0) swi_func (void); call: swi_func(); Thanks for your help.