ONE ISR multiple interrupts #1067
coderatchance
started this conversation in
Library discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
wish to use more than one interrupt, namely dedicated sensor and BOD. So, I have found this to be useful:
Not sure, if I understand this correctly, for example, how to discern between the interrupts in the the ISR?
For example, currently, I am using ISR to wake-up, the chip goes to sleep at the end of the concluded function, pin change interrupts is used. Works ok.
Looking at the BOD, so, started with the drop menu in Arduino and BOD works during sleep mode. However, it does not in active mode, hence I am looking at the ISR with two interrupts, so how we discern between the interrupts in one ISR?
Namely, dose the BOD precessed the application interrupt? I don't think so, however, what happens, if the voltage drops during the application when the interrupt should be fired?
Anyway, I would like to used the following BOD in my ISR:
Any ideas, comments are more than welcome !
Best.
Beta Was this translation helpful? Give feedback.
All reactions