EIC Callbacks with ASF on SAMD20

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I am have an application with multiple external interrupts hooked up. I have initialized each of them with the ASF drivers and each one is to have its own callback function.

My problems is that both functions are running after either is triggered.

Can you have a callback function for each interrupt? Or do you have to test each interrupt input from a single callback? I hope the latter is not the case as this makes the code much more cluttered.

Thanks in advance for the help!
ramlco

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you solve this issue? I have to deal with multiple interrupts too