To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 3005
3004  |  3006
Subject: 
Re: TOC4INT interrupt
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 19 Nov 1997 07:37:27 GMT
Original-From: 
Chuck McManis <cmcmanis@*StopSpammers*netcom.com>
Viewed: 
939 times
  
MAR ERICSON wrote:

Is there a limit to how long the system interrupt routine can last?

Yes, 1 mSec.

What happens if all the instructions I place in there causes the whole
interrupt to last more that 1 msec?

Time slows down (the tick counter is no longer accurate), your motors
get variations in their PWM signal, and you risk losing syncronization
with any servos you have out holding position.

--
--Chuck McManis       http://www.professionals.com/~cmcmanis/index.html
All opinions in this message are those of the author. No warranty as to
the suitability or accuracy is stated or implied. Use at your own risk.
cmcmanis@netcom.com                                     +1.408.524.4805



Message is in Reply To:
  TOC4INT interrupt
 
How do you know when you are "using too much resources" when installing programs into the system interrupt? Is there a limit to how long the system interrupt routine can last? What happens if all the instructions I place in there causes the whole (...) (27 years ago, 19-Nov-97, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR