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.
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...