Renesas 70 Manual de usuario Pagina 118

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 162
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 117
Chapter 6 Using Configurator
- 108 -
2. Selecting a semaphore waiting queue
[( Definition format )] Symbol
[( Definition range )] TA_TFIFO or TA_TPRI
[( Default value )] TA_TFIFO
Select a method in which tasks wait for the semaphore. If TA_TFIFO is selected, tasks are enqueued
in order of FIFO. If TA_TPRI is selected, tasks are enqueued in order of priority beginning with the one
that has the highest priority.
3. Initial value of semaphore counter
[( Definition format )] Numeric value
[( Definition range )] 0 to 65535
[( Default value )] 1
Define the initial value of the semaphore counter.
4. Maximum value of the semaphore counter
[( Definition format )] Numeric value
[( Definition range )] 1 to 65535
[( Default value )] 1
Define the maximum value of the semaphore counter.
[(Data queue definition )]
This definition must always be set when the data queue function is to be used.
<< Format >>
// Dataqueue Definition
mailbox[
ID No.
]{
name =
ID name
;
buffer_size =
Number of data queues
;
wait_queue =
Select data queue waiting queue
;
};
:
:
The ID number must be in the range 1 to 255. The ID number can be omitted. If omitted, ID numbers are auto-
matically assigned in order of numbers beginning with the smallest.
<< Content >>
For each data queue ID number, define the items described below.
1. ID name
[( Definition format )] Symbol
[( Definition range )] None
[( Default value )] None
Define the name by which the data queue is specified in a program.
Vista de pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 161 162

Comentarios a estos manuales

Sin comentarios