I didn't know to change periodic time
I have tow chose and i can know how is responsible from periodic time
SetRelAlarm(AlarmTask1, 10,10000);
or
COUNTER Counter1 {
CPU_ID = "cpu0";
MINCYCLE = 2;
MAXALLOWEDVALUE = 0x10000000 ;
TICKSPERBASE = 1;
};
i need help
thank's
Faouzi
How to change periode of periode of time of periodic task
Moderator: paolo.gai
Re: How to change time periode of periodic task
I didn't know to change time period
I have tow chose and i can know how is responsible from periodic time
SetRelAlarm(AlarmTask1, 10,10000);
or
COUNTER Counter1 {
CPU_ID = "cpu0";
MINCYCLE = 2;
MAXALLOWEDVALUE = 0x10000000 ;
TICKSPERBASE = 1;
};
i need help
thank's
I have tow chose and i can know how is responsible from periodic time
SetRelAlarm(AlarmTask1, 10,10000);
or
COUNTER Counter1 {
CPU_ID = "cpu0";
MINCYCLE = 2;
MAXALLOWEDVALUE = 0x10000000 ;
TICKSPERBASE = 1;
};
i need help
thank's
Re: How to change periode of periode of time of periodic ta
the period is specified in the SetRelAlarm. please read the ERIKA manual, the OSEK/VDX Standard, and check the "event" demo on how the SetRelAlarm is used. Also play with the parameters sent to the function. If I'm not wrong, MINCYCLE, MAXALLOWEDVALUE, and TICKSPERBASE are ignored in the Nios II version since it came before the OSEK/VDX certification.
pj
pj
Re: How to change periode of periode of time of periodic ta
the period is specified in the SetRelAlarm. please read the ERIKA manual, the OSEK/VDX Standard, and check the "event" demo on how the SetRelAlarm is used. Also play with the parameters sent to the function. If I'm not wrong, MINCYCLE, MAXALLOWEDVALUE, and TICKSPERBASE are ignored in the Nios II version since it came before the OSEK/VDX certification.
pj
pj