Torello
Joined: 29 Sep 2006 Posts: 120
|
2 interrupts jump to 1 ISR |
Posted: Wed Oct 20, 2010 6:08 am |
|
|
Hello,
Does anybody know a better way to let 2 interrupts use the same handler?
Example below works, but is a double jump/call that I don't want.
Code: |
#INT_RDA
void rda() {sercom12_handler();}
#INT_RDA2
void rda2(){sercom12_handler();}
|
fragment below does only work for RDA2 (does not generate an error)
Code: |
#INT_RDA
#INT_RDA2
void sercom12_handler() {
blabla
}
|
regards,
Edwin, PCWHD, V4112, Win7.32 |
|