238
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. This value must be less than the maximum value of the sema-
phore 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
dataqueue[
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 automatically
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.
Содержание 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...