Go to Post Frankly, I love CD and everything it stands for. I've made more friends from this forum alone than I ever expected to meet in FIRST. I'd give just about anything to keep this system up, upgraded and going on long into the future. It's not even enough to show my thanks and gratitude. - BandChick [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-11-2003, 23:16
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
interrupts are code that runs out of order

I don't have a ton of time as my wife has just announced she is going to bed (implied: I better join her).... ...but.... the basic idea of interrupts is that it is code that is run out of the normal flow of a program.

So, when a pin changes from 0 to 1 or when a counter that is running in the background flips from hex $FFFF to hex $0000 or when a byte comes in via the serial data line or whatever, some special code can be run.

Usually in C this code is defined via a pragma statement.

Out of time... ...more later.

Joe J.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with Interrupts thoughtful Programming 5 08-01-2004 16:07
New Controller Specs Posted Jnadke Programming 58 05-10-2003 08:18
New Controller programmable in C dez250 Programming 48 02-10-2003 19:28
What is an interrupt handler? Adam Y. Programming 7 14-08-2003 10:26
Possible Configuration to keep things cheap archiver 1999 8 23-06-2002 23:03


All times are GMT -5. The time now is 06:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi