Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:15 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Interrupt Disable

Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 11:26pm 16 May 2018
Copy link to clipboard 
Print this post

Possibly one for Geoff and/or Peter?

Is there any way currently to globally disable and enable all interrupts?

Is it something that may be possible or desireable in the future?

panky
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 12:01am 17 May 2018
Copy link to clipboard 
Print this post

No, not at the moment, however it is worth consideration.

Geoff
Geoff Graham - http://geoffg.net
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 06:22am 17 May 2018
Copy link to clipboard 
Print this post

A solution could be to add a global variable and check it in every interrupt routine.
It does not prevent the processing time that is used by the interrupts but that might be negligible.

Microblocks. Build with logic.
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 04:15pm 17 May 2018
Copy link to clipboard 
Print this post

  panky said   Possibly one for Geoff and/or Peter?

Is there any way currently to globally disable and enable all interrupts?

Is it something that may be possible or desireable in the future?

panky


This is something I could quite often use. Microblocks has pipped me to the post as that is the solution I use in such cases.

Would still love to see DI and EI instructions.
Edited by CaptainBoing 2018-05-19
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025