- 68 -
[
[[
[
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 task1()
{
ER_UINT actcnt;
:
actcnt = can_act( ID_task2 );
:
}
void task2()
{
:
ext_tsk();
}
<<Example statement in assembly language>>
.INCLUDE mr100.inc
.GLB task
task:
:
can_act #ID_TASK2
: