- 159 -
stp_cyc Stops cyclic handler operation istp_cyc Stops cyclic handler operation (handler only)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = stp_cyc( ID cycid );
ER ercd = istp_cyc( ID cycid );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
ID cycid ID number of the cyclic handler to be stopped
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)
[
[[
[
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
stp_cyc CYCNO
istp_cyc CYCNO
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
CYCNO ID number of the cyclic handler to be stopped
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
R2 ID number of the cyclic handler to be stopped
[
[[
[
E
Er
rr
ro
or
r
c
co
od
de
e
]
]]
]
None
[
[[
[
F
Fu
un
nc
ct
ti
io
on
na
al
l
d
de
es
sc
cr
ri
ip
pt
ti
io
on
n
]
]]
]
This service call places the cyclic handler indicated by cycid into a non-operational state.
If this service call is to be issued from task context, use stp_cyc; if issued from non-task context, use istp_cyc.
[
[[
[
E
Ex
xa
am
mp
pl
le
e
p
pr
ro
og
gr
ra
am
m
s
st
ta
at
te
em
me
en
nt
t
]
]]
]
<<Example statement in C language>>
#include <itron.h>
#include <kernel.h>
#include “kernel_id.h”
void task()
{
:
stp_cyc ( ID_cyc1 );
:
}
<<Example statement in assembly language>>
.include mr100.inc
.GLB task
task: :
PUSH.W R2
stp_cyc #ID_CYC1
: