|
Post by achyuthans on Apr 23, 2017 12:47:14 GMT
Hi. I'm writing a program with intercore interrupts. Say, the source is core0, and the target is core1. These are my questions.
1. When core0 triggers the interrupt, core1 has to do one of several jobs, but since we don't have flags on top of Arduino API, I'm just using a global variable and a switch-case arrangement inside the Interrupt Service Routine. Is there a better way of doing this?
2. Just like the interrupt service routines in conventional microcontrollers, can I disable/ mask interrupts for core1, so that the destination core executes the ISR completely without any disturbance and without affecting other cores? The function noInterrupts() does the job, but I'm using some timer functions as well. So, I'm not able to use that.
Thanks in advance.
|
|
|
Post by Admin on Apr 23, 2017 16:56:01 GMT
|
|