I am working with an ATMega128, which has INT5, INT6, and INT7 pin interrupts enabled and set to pin change mode. I would like to have a single ISR called whenever either of the three pins change states, however, I'm not sure how to accomplish this in the most efficient way.
If the ATMega128 had pin-change interrupts, this would be solved. However, as far as I know, the ATMega128 has no PCINT pins. I know that I could simply setup three ISR functions, one for each INT# pin and just have them all call the same function, but I'm wondering if there is a more effective way to do this?
So far, the only thing I have found is the ISR_ALIAS() and ISR_ALIASOF() attributes, but It *seems* like you can only make two vectors point to the same routine (at best). Is there another, more clever way to approach this? Again, ideally, I would like to have all three interrupt pins map to the same function when any of their states change.