- 108 -
5.4 Synchronization & Communication Function (Eventflag)
Specifications of the eventflag function of MR100 are listed in Table 5.7.
Table 5.7 Specifications of the Eventflag Function
No. Item
Content
1 Event0flag
ID
1-255
2
Number of bits comprising eventflag
32 bits
TA_TFIFO: Waiting
tasks
enqueued in order of FIFO
TA_TPRI:
Waiting tasks enqueued in order of priority
TA_WSGL:
Multiple tasks cannot be kept waiting
TA_WMUL:
Multiple tasks can be kept waiting
3 Eventflag
attribute
TA_CLR:
Bit pattern cleared when waiting task is released
Table 5.8 List of Eventflag Function Service Call
System State
No. Service
Call
Function
T N E D
U
L
1 set_flg
[S][B]
O O O
O
2 iset_flg
[S][B]
Sets eventflag
O O O
O
3 clr_flg
[S][B]
O O O
O
4 iclr_flg
Clears eventflag
O O O
O
5 wai_flg
[S][B]
Waits
for
eventflag
O O O
6 pol_flg
[S][B]
O O O
O
7 ipol_flg
[S]
Waits for eventflag (polling)
O O O
O
8 twai_flg
[S]
Waits
for
eventflag
(with
timeout)
O O O
9
ref_flg
O O O
O
10 iref_flg
References eventflag 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...