 Question:
Please let us know if we can interrupt and preempt a PP while in the middle of running a
task. If so, are there any specific i/o lines or timer functions that we need to provide
to be able to achieve that.
Answer: The PP command interface
was designed so that it executes the commands in its command buffers to the end. However,
there are ways in which you can interrupt a PP.
1. Use a MSG interrupt
2. Use a Task interrupt
3. Issue a 'halt' command
4. 'Reset' For cases
1 & 2, one will have to write separate interrupt service routines when the PP
receives the interrupts.
For case 3, the PP is simply halted and when it is unhalted by the MP, it will start to
execute from where it left off.
For case 4, the PP starts executing from the top. Which method you use depends on what you
want to do after a PP is interrupted. |