Searching \ for '[SX] SX/B interrupt disable' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/sxints.htm?key=interrupt
Search entire site for: 'SX/B interrupt disable'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX/B interrupt disable'
2006\10\18@095351 by Rsadeikan/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote:

I have attached a program that can be used as a starting point. My question, after reading through the SX/B help file I did not notice a command or an instruction that disables the interrupt after an option = $xx has been implemented. So, for example, in my program, how would I disable the interrupt while the pulsin subroutine runs, and then how would I turn the interrupt back on.

thanks

Ray
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=150091
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\18@103220 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Ray,
 If you using OPTION=$88 to enable interrupts then OPTION=$C8 will disable interrupts.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=150091#m150098
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\18@105054 by Sparks-R-Funn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote:

Ray,
Do you have Gunther's book?  As others can testify, it is a very handy reference.  On page 225 of the second edition he makes clear that bit 6 of the Option register is the "main switch" to turn interrupts on or off.  (0 = Enabled, 1 = Disabled)  For your code, this is the Option bit that you need to change.

To turn interrupts on use:
OPTION = %10001000
To turn interrupts off use:
OPTION = %11001000
Those are the same as the hex values given by Bean.  I wanted to explain a little how they were obtained.  Obviously the other bits in the Option register have meaning as well, so be sure to check those out if they are of interest.

- Sparks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=150091#m150106
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...