|
Forum Index : Microcontroller and PC projects : Interrupt Disable
| Author | Message | ||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
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: AustraliaPosts: 3308 |
No, not at the moment, however it is worth consideration. Geoff Geoff Graham - http://geoffg.net |
||||
MicroBlocks![]() Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
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 KingdomPosts: 2171 |
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. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |