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 / 7007
7006  |  7008
Subject: 
Time available during 1 kHz system interrupt?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 1 Nov 1999 15:19:25 GMT
Original-From: 
Greg Starr <starr@unm.%antispam%edu>
Viewed: 
876 times
  
Does anyone know the approximate amount of time available for user
assembler programs which "add on" to the existing 1 kHz HB interrupt?

Another way of stating that is...how much time is used by the 1kHz HB ISR code?

--greg

*****************************************************************
* Greg Starr, Professor                                         *
* Department of Mechanical Engineering        ph (505) 277-6298 *
* University of New Mexico, Albuquerque NM 87131   FAX 277-1571 *
* email- starr@unm.edu  WWW- http://www.me.unm.edu/~starr/      *
*****************************************************************



Message has 2 Replies:
  Re: Time available during 1 kHz system interrupt?
 
Greg, As much as you want. Your program is executed until it is finished, then the system interrupt routines follow, and run until they are finished. Good Luck, Gary Livick (...) (25 years ago, 1-Nov-99, to lugnet.robotics.handyboard)
  Re: Time available during 1 kHz system interrupt?
 
Hi Greg, It all depends. Various features of the HB can be turned on and off to change the amount of work done in the main ISR. By default the code uses 300ms to execute. The file lib_hb.c provides the following: /***...***/ /*** System Interrupt (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)

3 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