I'm using a tiny26 & need to trigger an iterrupt on PA6 (or possibly PA7). It looks very possible to do so using the Pin change interrupt feature. However, I strongly prefer to only have that pin generate the interrupt. Apparently turining on this function also causes pb[7:4] & PA3 to do so as well. These pins are not used as special functions, only as standard I/O. Is it possible to trigger an interrupt only on PA6?
I suppose I can let any of these pins generate an interrupt then in the ISR, try to check if it was caused by pa6. If not, simply return. However, this does not seem too elegant, since this can cause a lot of nusiance interrupts.. Any thoughts? Too bad I am already using the INT0 pin for something else (& of course don't want to change the PCB). PA6 was available as a spare.
More specifically, I want to generate an interrupt when PA6 goes high (it will be high for a "lengthy" time--not needing "glitch capture" or anything of that nature).