User`s guide
C281x Hardware Interrupt
The task priority indicates the relative importance tasks associated with
the asynchronous interrupts. If an interrupt triggers a higher-priority
task while a lower-priority task is running, the execution of the
lower-priority task will be suspended while the higher-priority task is
executed. The lowest value represents the highest priority. Note that
the default priority value of the base rate task is 40, so the priority
value for each asynchronously triggered task must be less than 40 for
these tasks to actually cause the suspension of the base rate task.
The preemption flag determines whether a given interrupt is
preemptable or not. Preemption overrides prioritization, such
that a preemptable task of higher priority can be preempted by a
non-preemptable task of lower priority.
Dialog
Box
9-11