??? 12/02/05 12:49 Read: times |
#104575 - Interrupts Responding to: ???'s previous message |
Donald Catto said:
Does your RTOS allow the application code to be called directly from the interrupt vector or is there a 'layer' of RTOS code between the vector and the application ISR? Well, a RTOS is basically just a library. I don't see how it could prevent you from doing anything...? Now, there are some precautions to take when you do this kind of asynchronous operations, in order to protect the critical shared memory places. The RTOS usually provides simple ways to handle the problem. But if the ISR does not access these places, then you don't need anything special. But I think that the solutions differ from one OS to the other, so just look at your RTOS's doc. This is a very common problem and I'm quite sure that all the mature RTOS's providers have fallen on it and solved it long ago. Vincent |