Go to Post If I'm going to mentor someone, I'm going to be involved in their life as a positive force. - Mechvet [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2004, 21:36
Apollo Clark Apollo Clark is offline
confused programmer
#1081 (undecided)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Atlanta GA
Posts: 3
Apollo Clark is an unknown quantity at this point
Send a message via AIM to Apollo Clark
When would I use an interrupt?

I'm a noob to C programming, and don't understand how interrupts work, so...

How is:

void Default_Routine(void)
{
if(bButtonA)
vButtonPressed();
....
};

different from calling an interrupt when ever bButtonA is pressed?

(i tried to post this message earlier, but it didn't seem to go though...)
 


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
Interrupts Questions mightywombat Programming 0 03-01-2004 14:50
Interrupt limitations? randomperson Programming 2 27-12-2003 21:40
EDU Interrupt and Timer Template Code Kevin Watson Programming 8 22-12-2003 14:11
IFI_Initialization Venkatesh Programming 11 08-12-2003 12:17
What is an interrupt handler? Adam Y. Programming 7 14-08-2003 10:26


All times are GMT -5. The time now is 00:34.

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