also ich habe mir gerade das Beispiel vom PIC32 angeschaut.
Dort wird der Tick Interrupt auf Prio 1 gesetzt. Dann wird ein UART
Interrupt auf PRIO 2 gesetzt. Dieser kann folglich den Tick Interrupt
unterbrechen...
Desweiter wird im Beispiel ein "High Frequ." Interrupt auf Prio 4
gesetzt. Dieser hat die Höchste Prio und kann somit nicht unterbochen
werden.
Hier der Orginaltext ausm Beispiel:
"
* By way of demonstration, the demo application defines
* configMAX_SYSCALL_INTERRUPT_PRIORITY to be 3,
configKERNEL_INTERRUPT_PRIORITY
* to be 1, and all other interrupts as follows:
*
* + The UART is allocated a priority of 2. This means it can interrupt
the
* RTOS tick, and can also safely use queues.
* + Two timers are configured to generate interrupts just to test the
nesting
* and queue access mechanisms. These timers are allocated priorities
2 and 3
* respectively. Even though they both access the same two queues,
the
* priority 3 interrupt can safely interrupt the priority 2
interrupt. Both
* can interrupt the RTOS tick.
* + Finally a high frequency timer interrupt is configured to use
priority 4 -
* therefore kernel activity will never prevent the high frequency
timer from
* executing immediately that the interrupt is raised (within the
limitations
* of the hardware itself). It would not be safe to access a queue
from this
* interrupt as it is above configMAX_SYSCALL_INTERRUPT_PRIORITY. "
Gruß
Andi