Go to Post It is critical to our continued growth and success to recognize, and to make others realize, THERE ARE NO OPPONENTS. - Taylor [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
  #5   Spotlight this post!  
Unread 09-02-2008, 18:24
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: interrupt enable

Code:
INTCONbits.GIE = 0;
This will definitely cause the red-light-of-death it turned off for any length of time. The GIE bit is also known as GIEH -- you've just disabled ALL interupts including the high priority interrupt that exchanges data between the master processor and user processor. If you wanted to disable all user interrupts you'd use GIEL bit instead.

See pg 121 in the PIC18F8722 manual (DS39646B;39646b.pdf)
 


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
Paly Robotics Team 8 laser-enable the disabled pstrapp General Forum 2 22-04-2007 17:53
Competition port Enable/disable switch box mpm967 Technical Discussion 3 10-01-2007 12:51
Autonomous enable/disable Culvan Van Li VEX 4 21-09-2006 13:03
enable interrupt Dean Programming 2 13-02-2005 07:37
Interrupt limitations? randomperson Programming 2 27-12-2003 21:40


All times are GMT -5. The time now is 19:15.

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