Renesas M3T-MR100 Manual de usuario Pagina 251

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 250
237
4. Multi-wait attribute
[( Definition format )]
Symbol
[( Definition range )] TA_WMUL or TA_WSGL
[( Default value )] TA_WSGL
Specify whether multiple tasks can be enqueued in the eventflag waiting queue. If TA_WMUL is selected, the
TA_WMUL attribute is added, permitting multiple tasks to be enqueued. If TA_WSGL is selected, the
TA_WSGL attribute is added, prohibiting multiple tasks from being enqueued.
5. Clear attribute
[( Definition format )]
Symbol
[( Definition range )] YES or NO
[( Default value )] NO
Specify whether the TA_CLR attribute should be added as an eventflag attribute. If YES is selected, the
TA_CLR attribute is added. If NO is selected, the TA_CLR attribute is not added.
[( Semaphore definition )]
This definition is necessary to use Semaphore function.
<< Format >>
// Semaphore Definition
semaphore[
ID No.
]{
name =
ID name
;
wait_queue =
Selecting a semaphore waiting queue
;
initial_count =
Initial value of semaphore counter
;
max_count =
Maximum value of the semaphore counter
;
};
:
:
The ID number must be in the range of 1 to 255. The ID number can be omitted.
If omitted, numbers are automatically assigned sequentially beginning with the smallest.
<< Content >>
Define the following for each semaphore ID number.
1. ID Name
[( Definition format )]
Symbol
[( Definition range )] None
[( Default value )] None
Define the name with which a semaphore is specified in a program.
Vista de pagina 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 303 304

Comentarios a estos manuales

Sin comentarios