Skip to main content
4 events
when toggle format what by license comment
Apr 18, 2014 at 9:35 comment added gwideman I think you will have to specify how close in time these interrupts need to occur to count as being "at the same time". As @EvertW mentions, interrupts are triggered by edges, not levels, so you can't "and them together" per se. Perhaps you mean instead that there's some pair of signals which each last some length of time, and it's the beginning of the time when both are on together that you need to perform your coil exciting operation? Could you just use an AND gate to AND the two signals together?
Apr 18, 2014 at 9:24 answer added EvertW timeline score: 1
Apr 18, 2014 at 4:40 comment added Spehro 'speff' Pefhany The XC866 allows nested interrupts, so you could detect whether you were in an ISR for a given interrupt when the "other" interrupt is triggered by using flags or whatever. This does not sound like a very good thing to do. ISRs should be brief.
Apr 18, 2014 at 4:21 history asked user37000 CC BY-SA 3.0