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 / 7011
7010  |  7012
Subject: 
Re: Time available during 1 kHz system interrupt?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 2 Nov 1999 01:48:19 GMT
Original-From: 
Christopher Prosser <cprosser@acm.STOPSPAMorg>
Viewed: 
771 times
  
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 Control ***/
/********************************/

/*

    These functions allow you to turn on and off various features
    controlled by the system interrupt routines.  The more features
    you turn off, the faster your code will run.

    On reset, the features have the following state:
       pulse width modulation ON
       infrared decoding      ON
       LCD printing           ON
       quad shaft decoding    OFF
       IR tranmission       OFF

    This uses approx. 30% of total CPU time.

    Approximate benchmarks:

x    Feature  % of CPU
    -------  --------
    PWM       3
    IR decode     11
    LCD printing (active)   8
    LCD printing (inactive) 1
    quad shaft decode     5
    IR transmission     1

*/



-chris prosser


----- Original Message -----
From: Greg Starr <starr@unm.edu>
To: <handyboard@media.mit.edu>
Sent: Monday, November 01, 1999 7:19 AM
Subject: Time available during 1 kHz system interrupt?


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 is in Reply To:
  Time available during 1 kHz system interrupt?
 
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, (...) (25 years ago, 1-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