I am trying to set up a pin change routine on my Tiny2313. I want to have a pin mask that I can use to determine which pin changed and proceed from there.
What I have is an external guider for my telescope. It determines when the scope has drifted and flips a pin to signal which way to correct.
The pin change pins on the 2313 are on PortB also the OC0A and OC1A pins that I am using for the pulse train to the motors.
My question is how does the pin mask deal with the two pins on PortB that are changing constantly? I know that I can set which pins the interrupt responds to but the pin mask has me a bit puzzled.