This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt function triggred by sottware

I'm using a str7 with Realview MDK.

I need a function(or interrupt) to be triggered by software and to act like other hardware interrupt which can be pended while other interrupt is running.

According to the result of an operation in an interrupt rutine such as UART1 interrupt, the function will be executed or not after completing the UART11 interrupt. This means the function acts like an hareware interrupt which has lower priority than UART1 interrupt.

If I use SWI instruction, UART1 interrupt is interrupted by SWI hander right after SWI. I don't want this situation because UART1 interrupt is very time critical.

Are there any good way to do? I beleive the auther of http://www.keil.com/forum/docs/thread10206.asp is in same problem with me.

Thanks.

Parents Reply Children
No data