as i understand ISR has two parts, critical and deferable, so when the isr
comes, keep this critical part small, need to get into Linux 2.6 kernel to
understand this how is this handled
Best Regards
Ashish Goel
"Think positive and find fuel in failure"
+919985813081
+919966006652
On Tue, Jul 6,
when the system is interrupted then before running ISR set a flag and then
run ISR
and when it returns from ISR unset the flag
after 20ms when system is interrupted again check the flag
if(flag is set)
means ISR is running
else
ISR run <20ms
--
You received this message because you are subscrib
you can have a free running timer. Note down the time(prev_timer) as soon as
you get an interrupt and Keep looping in the ISR untill your current timer
value(curr_timer) -(prev_timer) your previous timer value is greater than
20ms.
On Mon, Jul 5, 2010 at 8:11 PM, sharad kumar wrote:
> You have a
You have a system in which there is a timer that interrupts the system every
20ms. If the system is interrupted, an ISR runs to handle that interrupt.
How will you design your system to find if that ISR runs for more than 20ms
[in most cases an ISR will be very short...but assume in this case its n