- 113 -
wai_flg
Wait for eventflag
pol_flg
Wait for eventflag(polling)
ipol_flg
Wait for eventflag(polling, handler only)
twai_flg
Wait for eventflag(with timeout)
[
[
[
[
C
C
L
L
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
ER ercd = wai_flg( ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn );
ER ercd = pol_flg( ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn );
ER ercd = ipol_flg( ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn );
ER ercd = twai_flg( ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn,
TMO tmout );
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
ID
flgid
ID number of the eventflag waited for
FLGPTN
waiptn
Wait bit pattern
MODE wfmode Wait
mode
FLGPTN
*p_flgptn
Pointer to the area to which bit pattern is returned when released from wait
TMO
tmout
Timeout value (for twai_flg)
z
z
R
R
e
e
t
t
u
u
r
r
n
n
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
ER
ercd
Terminated normally (E_OK) or error code
FLGPTN
*p_flgptn
Pointer to the area to which bit pattern is returned when released from wait
[
[
[
[
A
A
s
s
s
s
e
e
m
m
b
b
l
l
y
y
l
l
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
.include mr100.inc
wai_flg FLGID, WAIPTN, WFMODE
pol_flg FLGID, WAIPTN, WFMODE
ipol_flg FLGID, WAIPTN, WFMODE
twai_flg FLGID, WAIPTN, WFMODE, TMO
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
FLGID
ID number of the eventflag waited for
WAIPTN
Wait bit pattern
WFMODE Wait
mode
TMO
Timeout value (for twai_flg)
z
z
R
R
e
e
g
g
i
i
s
s
t
t
e
e
r
r
c
c
o
o
n
n
t
t
e
e
n
n
t
t
s
s
a
a
f
f
t
t
e
e
r
r
s
s
e
e
r
r
v
v
i
i
c
c
e
e
c
c
a
a
l
l
l
l
i
i
s
s
i
i
s
s
s
s
u
u
e
e
d
d
wai_sem,pol_sem,ipol_sem
Register name
Content after service call is issued
R0 Error
code
R3R1
bit pattern is returned when released from wait
R2
ID number of the eventflag waited for
A1
Wait bit pattern
twai_sem
Register name
Content after service call is issued
R0 Error
code
R3R1
bit pattern is returned when released from wait
R2
ID number of the eventflag waited for
R6R4 Timeout
value
A1
Wait bit pattern
Содержание 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...