Hi Yankee and Happy New Years to all!

Yes you can do what you want to do but you are not going to get Port A inputs to work in the manner you are requesting. Your regular input (the one with the least priority) can be a PortA input but if you want to interrupt it with more priority then you will need to use PortB.0 for that one.

I personally have not done interupts myself yet but there are enough posts on this forum that will provide you with what you are looking for. Just goto the search and enter "Interupts" and you will find what you need.

Have fun!

BobK