- 91 -
[
[[
[
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()
{
ER_UINT wupcnt;
:
wupcnt = can_wup(ID_main);
if( wup_cnt > 0 )
printf(“wupcnt = %d\n”,wupcnt);
:
}
<<Example statement in assembly language>>
.include mr100.inc
.GLB task
task: :
can_wup #ID_TASK3
: