Echelon FTXL User Manual

Page 176

Advertising
background image

164

FTXL LonTalk API

Figure 15. Defined Symbols in the Project Properties Dialog

Similarly, if you want to support any application tasks in the high priority class,
you must override the definition of the

NUM_RESERVED_HIGH_PRIORITY_APPLICATION_TASKS macro.
Example: Suppose your application requires the following task priority
configuration:

• One high-priority application task
• Two medium-priority application tasks
• Three low-priority application tasks

To support this configuration:

• Set NUM_RESERVED_HIGH_PRIORITY_APPLICATION_TASKS to 1
• Set NUM_RESERVED_APPLICATION_PRIORITIES to 2
• You do not need to specify the number of low-priority application tasks

because the FTXL OSAL does not reserve space for low-priority tasks

Figure 16 on page 165 shows this example configuration. The figure also shows

example start values for each type of priority task, with the value for the high-

Advertising