- 69 -
sta_tsk Activate task with a start code ista_tsk Activate task with a start code (handler only)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = sta_tsk( ID tskid,VP_INT stacd );
ER ercd = ista_tsk ( ID tskid,VP_INT stacd );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
ID tskid ID number of the target task
VP_INT stacd Task start code
z
z
R
Re
et
tu
ur
rn
n
P
Pa
ar
ra
am
me
et
te
er
rs
s
ER ercd Terminated normally (E_OK) or error code
[
[[
[
A
As
ss
se
em
mb
bl
ly
y
l
la
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
.include mr100.inc
sta_tsk TSKID,STACD
ista_tsk TSKID,STACD
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
TSKID ID number of the target task
STATCD Task start code
z
z
R
Re
eg
gi
is
st
te
er
r
c
co
on
nt
te
en
nt
ts
s
a
af
ft
te
er
r
s
se
er
rv
vi
ic
ce
e
c
ca
al
ll
l
i
is
s
i
is
ss
su
ue
ed
d
Register name Content after service call is issued
R0 Error code
R3R1 Task start code
R2 ID number of the target task
[
[[
[
E
Er
rr
ro
or
r
c
co
od
de
e
]
]]
]
E_OBJ Object status invalid (task indicated by tskid is not DOMANT state)