- 100 -
5.3 Synchronization & Communication Function (Semaphore)
Specifications of the semaphore function of MR100 are listed in Table 5.5.
Table 5.5 Specifications of the Semaphore Function
No. Item
Content
1 Semaphore
ID
1-255
2
Maximum number of resources
1-65535
TA_FIFO:
Tasks enqueued in order of FIFO
3 Semaphore
attribute
TA_TPRI:
Tasks enqueued in order of priority
Table 5.6 List of Semaphore Function Service Call
System State
No. Service
Call
Function
T N E D
U
L
1 sig_sem
[S][B]
O O O
O
2 isig_sem
[S][B]
Releases semaphore resource
O O O
O
3 wai_sem
[S][B]
Acquires
semaphore
resource
O O O
4 pol_sem
[S][B]
O O O
O
5 ipol_sem
Acquires semaphore resource(polling)
O O O
O
6 twai_sem
[S]
Acquires semaphore resource(with
timeout)
O O O
7 ref_sem
O
O
O
O
8 iref_sem
References semaphore status
O O O
O
Notes:
•
[S]: Standard profile service calls
[B]: Basic profile service calls
•
Each sign within " System State " is a following meaning.
♦
T: Can be called from task context
♦
N: Can be called from non-task context
♦
E: Can be called from dispatch-enabled state
♦
D: Can be called from dispatch-disabled state
♦
U: Can be called from CPU-unlocked state
♦
L: Can be called from CPU-locked state
Содержание 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...