[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interrupt handler priorities and Periodic Task Priorities
Hi,
I think that this is a simple question. I searched the archives but did not
find anything. I also looked at my real-time examples.
I'm using RTL V0.9J with 2.0.36.
What I need to do is this --
I have 2 ISRs and 1 timed task
One of the ISRs needs to be of the highest priority so it never gets
preempted.
The other ISR needs to be mid-priority.
The timed task - needs to be lower priority than both ISR's
If I use rt_task_init on the ISR's I get the compiler warning that argument
2 is an incompatible pointer type.
I can see by the rt function definitions why this happens, and ISR handler
is void myHandler(void) while a timed task is void myTimedTask(int).
Will this cause me problems? Is there another way to set priorities?
Thanks in advance,
Janet Estabridis
Electrical Engineer
NAWC Code 473E00D
Building 31440 Room 1017
China Lake, CA 93555
estabridisjp@navair.navy.mil
(760) 939-2896 FAX (760) 939 -3075