Echelon FTXL Manual do Utilizador Página 176

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 261
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 175
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-
Vista de página 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 260 261

Comentários a estes Manuais

Sem comentários