Some CPUs support selectable interrupts priorities. The user may
select a priority for each interrupt vector. The interrupt with a higher
priority number can interrupt a service routine with the lower one. Processor Expert supports the following settings in design-time: interrupt
priority and priority of the event code. Small microcontroller architectures support only a basic interrupt
control: interrupts enabled or disabled. Settings of the
interrupt priority may be ignored for such microcontrollers. The only
option is to enable interrupts for the user event code. The user may select interrupt priority in the bean properties, just
below the interrupt vector name. Processor Expert offers the following
values, which are supported for all microcontrollers:
The selected value is automatically mapped to the priority supported by
the target microcontroller. It is indicated in the third column of the
Bean Inspector. The user can also select a priority for the processing of his/her event
code. This priority may be different from the interrupt priority. However,
the meaning of the number is the same - the event may be interrupted only
by the interrupts with the higher priority number. Processor Expert offers
the following architecture independent values:
The selected value is automatically mapped to the priority supported by
the target microcontroller and the selected value is displayed in the
third column of the Bean Inspector.
|